diff options
author | Riccardo Spagni <ric@spagni.net> | 2014-10-07 00:44:44 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2014-10-07 00:44:44 +0200 |
commit | bc537ac095bf30ea9cb090b2c6e83b3b25e957c4 (patch) | |
tree | a29b8d578c6f19d100f63d01418fdc64f67e1728 | |
parent | added hardcoded checkpoint at block 249380 (diff) | |
download | monero-bc537ac095bf30ea9cb090b2c6e83b3b25e957c4.tar.xz |
miniupnpc static define change
Diffstat (limited to '')
-rw-r--r-- | src/CMakeLists.txt | 2 | ||||
-rw-r--r-- | tests/CMakeLists.txt | 2 |
2 files changed, 4 insertions, 0 deletions
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}) |