blob: 9671e41b7d507013a6b94bf71a04cac521c81d86 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
commit 43b6ccf22174629ebec0a0579365c4269cf0fb58
Author: Andreas Cord-Landwehr <cola@uni-paderborn.de>
Date: Sat Oct 22 22:50:26 2011 +0200
Build Rocs by default with Boost Exceptions.
This solves the common build issues with many Boost releases.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b47ef0a..c636fd5 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -8,6 +8,8 @@ find_package(KDE4 REQUIRED)
include(KDE4Defaults)
remove_definitions(-DQT_NO_STL)
+set (CMAKE_CXX_FLAGS "${KDE4_ENABLE_EXCEPTIONS}" )
+
include_directories(
${KDE4_INCLUDES}
${QT_INCLUDES}
@@ -15,7 +17,6 @@ include_directories(
if(${CMAKE_BUILD_TYPE} MATCHES coverage)
set (CMAKE_CXX_COMPILER cov++)
- set (CMAKE_CXX_FLAGS "${KDE4_ENABLE_EXCEPTIONS}" )
endif()
find_package(Boost "1.39" REQUIRED)
|