Add -DSTATIC for static builds
authorManuel Nickschas <sputnick@quassel-irc.org>
Thu, 19 Feb 2009 22:10:52 +0000 (23:10 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Thu, 19 Feb 2009 22:10:52 +0000 (23:10 +0100)
CMakeLists.txt

index 9b69168..3bebf68 100644 (file)
@@ -66,6 +66,7 @@ set(LINGUAS "" CACHE STRING "Comma-separated list of locales specifying language
 
 # Some settings imply others
 if(STATIC)
 
 # Some settings imply others
 if(STATIC)
+  add_definitions(-DSTATIC)
   set(WITH_KDE OFF CACHE BOOL "Static building with KDE is not supported")
 endif(STATIC)
 
   set(WITH_KDE OFF CACHE BOOL "Static building with KDE is not supported")
 endif(STATIC)