From 0c4e4a4703c0189518e71b2aad871d8dd7ba0741 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Thu, 19 Feb 2009 23:10:52 +0100 Subject: [PATCH 1/1] Add -DSTATIC for static builds --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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) -- 2.20.1