From 5de2bcb5612aa6aaff800ad970607b79f1f51784 Mon Sep 17 00:00:00 2001 From: Mike Gelfand Date: Tue, 21 Apr 2015 14:28:23 +0300 Subject: [PATCH] Fix MINIUPNP_STATICLIB being lost in CMake configuration --- miniupnpc/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/miniupnpc/CMakeLists.txt b/miniupnpc/CMakeLists.txt index 0a5dcce..9c885dc 100644 --- a/miniupnpc/CMakeLists.txt +++ b/miniupnpc/CMakeLists.txt @@ -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)