diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 8cd39a544..a77c232ca 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -28,7 +28,7 @@ # # Parts of this file are originally copyright (c) 2012-2013 The Cryptonote developers -if (WIN32 AND STATIC) +if (WIN32 OR STATIC) add_definitions(-DSTATICLIB) # miniupnp changed their static define add_definitions(-DMINIUPNP_STATICLIB)