From: Manuel Nickschas Date: Thu, 19 Feb 2009 22:10:52 +0000 (+0100) Subject: Add -DSTATIC for static builds X-Git-Tag: 0.5-rc1~351 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=0c4e4a4703c0189518e71b2aad871d8dd7ba0741;hp=2ef05a04e0a440f6f3830e94c4f59711a0965a87;ds=sidebyside Add -DSTATIC for static builds --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 9b691682..3bebf683 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -66,6 +66,7 @@ set(LINGUAS "" CACHE STRING "Comma-separated list of locales specifying language # Some settings imply others if(STATIC) + add_definitions(-DSTATIC) set(WITH_KDE OFF CACHE BOOL "Static building with KDE is not supported") endif(STATIC)