cmake: Windows and static builds need this

This commit is contained in:
Ben Boeckel 2014-10-24 15:52:01 -04:00
parent 01895dd067
commit e3776876af
1 changed files with 1 additions and 1 deletions

View File

@ -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)