mirror of
https://github.com/glest/glest-source.git
synced 2025-08-27 01:44:23 +02:00
bugfix for libminiupnpc cmake script
This commit is contained in:
@@ -300,10 +300,11 @@ option(ENABLE_FRIBIDI "Enable FriBIDi support" ON)
|
||||
streflop/softfloat)
|
||||
ENDIF()
|
||||
|
||||
IF(NOT WANT_STATIC_LIBS)
|
||||
MESSAGE(STATUS "*** Searching for miniupnpc since WANT_STATIC_LIBS is off ...")
|
||||
FIND_PACKAGE(Miniupnpc)
|
||||
ENDIF()
|
||||
#IF(NOT WANT_STATIC_LIBS)
|
||||
#MESSAGE(STATUS "*** Searching for miniupnpc since WANT_STATIC_LIBS is off ...")
|
||||
MESSAGE(STATUS "*** Searching for miniupnpc ...")
|
||||
FIND_PACKAGE(Miniupnpc)
|
||||
#ENDIF()
|
||||
|
||||
if(NOT MINIUPNP_FOUND)
|
||||
MESSAGE(STATUS "*** Using EMBEDDED miniupnpc since dev system does not have it... MINIUPNP_FOUND [${MINIUPNP_FOUND}]")
|
||||
|
Reference in New Issue
Block a user