- added support for libminiupnpc 1.7

This commit is contained in:
Mark Vejvoda
2012-12-26 01:11:11 +00:00
parent f78ba5e5e6
commit 7a57668a91
3 changed files with 71 additions and 31 deletions

View File

@@ -297,7 +297,12 @@ IF(BUILD_MEGAGLEST_MODEL_VIEWER OR BUILD_MEGAGLEST_MAP_EDITOR OR BUILD_MEGAGLEST
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)
IF(MINIUPNPC_VERSION_PRE1_7)
ADD_DEFINITIONS(-DMINIUPNPC_VERSION_PRE1_7)
message(STATUS "Adding macro for miniupnpc version: pre v1.7")
ENDIF()
IF(NOT MINIUPNPC_VERSION_PRE1_5 AND NOT MINIUPNPC_VERSION_PRE1_6 AND NOT MINIUPNPC_VERSION_PRE1_7)
message(STATUS "**No macros required for miniupnpc version")
ENDIF()