cmake: Windows and static builds need this

pull/95/head
Ben Boeckel 10 years ago
parent 01895dd067
commit e3776876af

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

Loading…
Cancel
Save