Fix MINIUPNP_STATICLIB being lost in CMake configuration

This commit is contained in:
Mike Gelfand 2015-04-21 14:28:23 +03:00
parent b137df30d9
commit 5de2bcb561
1 changed files with 1 additions and 2 deletions

View File

@ -86,8 +86,7 @@ endif (NOT WIN32 AND NOT CMAKE_SYSTEM_NAME STREQUAL "AmigaOS")
if (WIN32)
set_source_files_properties (${MINIUPNPC_SOURCES} PROPERTIES
COMPILE_DEFINITIONS MINIUPNP_STATICLIB
COMPILE_DEFINITIONS MINIUPNP_EXPORTS
COMPILE_DEFINITIONS "MINIUPNP_STATICLIB;MINIUPNP_EXPORTS"
)
endif (WIN32)