[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kig/Applications/16.04] /: Make cmake find Boost Python (a missing compile option -fexceptions caus
From:       Maurizio Paolini <paolini () dmf ! unicatt ! it>
Date:       2016-03-22 6:57:22
Message-ID: E1aiGFm-0004o5-3t () scm ! kde ! org
[Download RAW message or body]

Git commit 96526f6d20e7abc9ec2c1de33e911e4329d07f76 by Maurizio Paolini.
Committed on 22/03/2016 at 06:56.
Pushed by paolini into branch 'Applications/16.04'.

Make cmake find Boost Python (a missing compile option -fexceptions caused confusion to cmake)

M  +2    -2    CMakeLists.txt
M  +1    -0    KigConfigureChecks.cmake

http://commits.kde.org/kig/96526f6d20e7abc9ec2c1de33e911e4329d07f76

diff --git a/CMakeLists.txt b/CMakeLists.txt
index ee115bc..313cf38 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,10 +41,10 @@ if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR CMAKE_C
   set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 endif()
 
-find_package(BoostPython)
-
 include(KigConfigureChecks.cmake)
 
+find_package(BoostPython)
+
 add_subdirectory( doc )
 add_subdirectory( icons )
 add_subdirectory( kig )
diff --git a/KigConfigureChecks.cmake b/KigConfigureChecks.cmake
index e358f1f..c8d244e 100644
--- a/KigConfigureChecks.cmake
+++ b/KigConfigureChecks.cmake
@@ -1,3 +1,4 @@
+kde_enable_exceptions()
 include(CheckIncludeFiles)
 include(CheckFunctionExists)
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic