- bugfixes for supporting compile of miniupnpc1.4 -> 1.6. Added two new optional commandline options for cmake:

-DMINIUPNPC_VERSION_PRE1_6=true
-DMINIUPNPC_VERSION_PRE1_5=true
This commit is contained in:
Mark Vejvoda
2011-10-12 22:04:00 +00:00
parent 642581237d
commit 3d20c207d5
4 changed files with 26 additions and 7 deletions

View File

@@ -173,6 +173,13 @@ ELSE()
#set (FTGL_LINK_TARGETS )
ENDIF(USE_FTGL)
IF(MINIUPNPC_VERSION_PRE1_5)
ADD_DEFINITIONS(-DMINIUPNPC_VERSION_PRE1_5)
ENDIF()
IF(MINIUPNPC_VERSION_PRE1_6)
ADD_DEFINITIONS(-DMINIUPNPC_VERSION_PRE1_6)
ENDIF()
#########################################################################################
# megaglest lib