diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 321d0555..aec615eb 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 44582463..3fda229b 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})