Changeset 2831 for vidalia/trunk/src

Show
Ignore:
Timestamp:
07/02/08 22:38:02 (6 months ago)
Author:
edmanm
Message:

Link to ws2_32 if building with UPnP support on Windows, otherwise we get
linker errors when building with CMake 2.6.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vidalia/trunk/src/miniupnpc/CMakeLists.txt

    r2667 r2831  
    11## 
    2 ##  $Id: $ 
     2##  $Id$ 
    33##  
    44##  This file is part of Vidalia, and is subject to the license terms in the 
     
    2828 
    2929add_library(miniupnpc STATIC ${miniupnpc_SRCS}) 
     30if (WIN32) 
     31  target_link_libraries(miniupnpc ws2_32) 
     32endif(WIN32) 
    3033