From 689357faa3e04ecefa15a80d7044714cb502aa5f Mon Sep 17 00:00:00 2001 From: Ralf Habacker Date: Tue, 12 Feb 2008 12:36:17 +0000 Subject: - 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 --- modules/FindKDE4Internal.cmake | 2 ++ 1 file changed, 2 insertions(+) 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} ) -- cgit v1.2.1