aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2008-02-12 12:36:17 +0000
committerRalf Habacker <ralf.habacker@freenet.de>2008-02-12 12:36:17 +0000
commit689357faa3e04ecefa15a80d7044714cb502aa5f (patch)
tree9671506006ba06045b57e53a3e13ce5230df44a2 /modules
parente5c7745dccc9b29354812f53edb77163574028ae (diff)
downloadextra-cmake-modules-689357faa3e04ecefa15a80d7044714cb502aa5f.tar.gz
extra-cmake-modules-689357faa3e04ecefa15a80d7044714cb502aa5f.tar.bz2
- win32 compile fix: kdecore's CMakeLists.txt says that kdefakes is only build on unix which implies that the library should only be searched on unix
svn path=/trunk/KDE/kdelibs/; revision=774067
Diffstat (limited to 'modules')
-rw-r--r--modules/FindKDE4Internal.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index c1981470..494986ea 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -340,8 +340,10 @@ else (_kdeBootStrapping)
# this file contains all dependencies of all libraries of kdelibs, Alex
include(${kde_cmake_module_dir}/KDELibsDependencies.cmake)
+if (UNIX)
find_library(KDE4_KDEFAKES_LIBRARY NAMES kdefakes PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
set(KDE4_KDEFAKES_LIBS ${kdefakes_LIB_DEPENDS} ${KDE4_KDEFAKES_LIBRARY} )
+endif
find_library(KDE4_KDECORE_LIBRARY NAMES kdecore PATHS ${KDE4_LIB_INSTALL_DIR} NO_DEFAULT_PATH )
set(KDE4_KDECORE_LIBS ${kdecore_LIB_DEPENDS} ${KDE4_KDECORE_LIBRARY} )