Show
Ignore:
Timestamp:
04/01/08 22:00:36 (8 months ago)
Author:
edmanm
Message:

r290@lysithea: edmanm | 2008-04-01 22:00:19 -0400
Make UPnP support optional (off by default). Add a FindMiniUPnPc.cmake for
checking for the miniupnpc library and location of header files.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • vidalia/trunk/CMakeLists.txt

    r2464 r2476  
    6363endif(USE_QSSLSOCKET) 
    6464 
     65## UPnP support is currently optional (disabled by default) 
     66option(USE_MINIUPNPC "Enable UPnP support using the MiniUPnPc library." OFF) 
     67if (USE_MINIUPNPC) 
     68  include(${CMAKE_SOURCE_DIR}/cmake/FindMiniUPnPc.cmake) 
     69endif(USE_MINIUPNPC) 
     70 
    6571## Check for system header files 
    6672check_include_file("limits.h" HAVE_LIMITS_H)