summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:47:10 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-05-05 22:47:10 +0000
commit6f99c72ee500c7b189ff7fb372ea17257e06e5a2 (patch)
tree7786b5432feaea6df2c731b69da97a7914ac530d /CMakeLists.txt
parentc0a0dd885111a3072c3a3bbf296e7012e66070cc (diff)
downloadtdegraphics-6f99c72ee500c7b189ff7fb372ea17257e06e5a2.tar.gz
tdegraphics-6f99c72ee500c7b189ff7fb372ea17257e06e5a2.zip
[kdegraphics] updated cmake files
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdegraphics@1230549 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f92e7823..57cfa602 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -52,6 +52,7 @@ option( BUILD_ALL "Build all" OFF )
option( BUILD_KVIEW "Build kview" ${BUILD_ALL} )
option( BUILD_KRULER "Build kruler" ${BUILD_ALL} )
option( BUILD_KPDF "Build kpdf" ${BUILD_ALL} )
+option( BUILD_KSVG "Build ksvg" ${BUILD_ALL} )
##### configure checks ##########################
@@ -65,7 +66,7 @@ add_definitions(
-DHAVE_CONFIG_H
)
-set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" )
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS} -fexceptions" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
@@ -75,6 +76,7 @@ set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
tde_conditional_add_subdirectory( BUILD_KVIEW kview )
tde_conditional_add_subdirectory( BUILD_KRULER kruler )
tde_conditional_add_subdirectory( BUILD_KPDF kpdf )
+tde_conditional_add_subdirectory( BUILD_KSVG ksvg )
##### write configure files #####################