From bc537ac095bf30ea9cb090b2c6e83b3b25e957c4 Mon Sep 17 00:00:00 2001 From: Riccardo Spagni Date: Tue, 7 Oct 2014 00:44:44 +0200 Subject: [PATCH] miniupnpc static define change --- src/CMakeLists.txt | 2 ++ tests/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 321d0555b..aec615eb2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -29,6 +29,8 @@ # Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers add_definitions(-DSTATICLIB) +# miniupnp changed their static define +add_definitions(-DMINIUPNP_STATICLIB) file(GLOB_RECURSE COMMON common/*) file(GLOB_RECURSE CRYPTO crypto/*) diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 44582463d..3fda229b6 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -29,6 +29,8 @@ # Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers add_definitions(-DSTATICLIB) +# miniupnp changed their static define +add_definitions(-DMINIUPNP_STATICLIB) add_subdirectory(gtest) include_directories(${gtest_SOURCE_DIR}/include ${gtest_SOURCE_DIR})