- cmake now dynamically detects some versions of miniupnpc
This commit is contained in:
parent
d0d432f204
commit
f78f6bba9b
|
@ -206,9 +206,14 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER OR BUILD_MEGAGLEST_MAP_EDITOR OR BUILD_MEGAGLEST
|
||||||
|
|
||||||
IF(MINIUPNPC_VERSION_PRE1_5)
|
IF(MINIUPNPC_VERSION_PRE1_5)
|
||||||
ADD_DEFINITIONS(-DMINIUPNPC_VERSION_PRE1_5)
|
ADD_DEFINITIONS(-DMINIUPNPC_VERSION_PRE1_5)
|
||||||
|
message(STATUS "Adding macro for miniupnpc version: pre v1.5")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
IF(MINIUPNPC_VERSION_PRE1_6)
|
IF(MINIUPNPC_VERSION_PRE1_6)
|
||||||
ADD_DEFINITIONS(-DMINIUPNPC_VERSION_PRE1_6)
|
ADD_DEFINITIONS(-DMINIUPNPC_VERSION_PRE1_6)
|
||||||
|
message(STATUS "Adding macro for miniupnpc version: pre v1.6")
|
||||||
|
ENDIF()
|
||||||
|
IF(NOT MINIUPNPC_VERSION_PRE1_5 AND NOT MINIUPNPC_VERSION_PRE1_6)
|
||||||
|
message(STATUS "**No macro's required for miniupnpc version")
|
||||||
ENDIF()
|
ENDIF()
|
||||||
|
|
||||||
OPTION(USE_FREETYPEGL "Use Freetype-GL for on-screen fonts" OFF)
|
OPTION(USE_FREETYPEGL "Use Freetype-GL for on-screen fonts" OFF)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user