Branch 'dev/upgrade-migration' - c++/CMakeLists.txt

Jeroen van Meeuwen vanmeeuwen at kolabsys.com
Thu Mar 8 13:14:05 CET 2012


 c++/CMakeLists.txt |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit ed142b3f1ea0f622823fd7509adb69d3a25ae0a6
Author: Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen at kolabsys.com>
Date:   Thu Mar 8 12:13:45 2012 +0000

    Also search the kde4/devel sub-directory for kdecore (Fedora)

diff --git a/c++/CMakeLists.txt b/c++/CMakeLists.txt
index 22fa6ba..90f73d1 100644
--- a/c++/CMakeLists.txt
+++ b/c++/CMakeLists.txt
@@ -39,7 +39,7 @@ if(SWIG)
 endif(SWIG)
 
 #We search for the needed libraries manually because FindKDE.cmake sets a miriad of linker options which we don't want.
-find_library(KDECORE NAMES kdecore)
+find_library(KDECORE NAMES kdecore PATH_SUFFIXES kde4/devel)
 if(KDECORE)
     set(KDECORE_FOUND ON)
     message("KDElibs found")
@@ -119,4 +119,4 @@ if (${QT_FOUND})
 endif()
 
 
-add_subdirectory(upgradetool)
\ No newline at end of file
+add_subdirectory(upgradetool)





More information about the commits mailing list