aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@kde.org>2007-01-03 11:38:05 +0000
committerOlivier Goffart <ogoffart@kde.org>2007-01-03 11:38:05 +0000
commit822ebbc932887932658c7e37b2951bc80fcb4353 (patch)
tree5fc513b415cb1077ca5942723fe46508a2138b95
parentbaacb32fca8e781564b662bf4dcb46599396c137 (diff)
downloadextra-cmake-modules-822ebbc932887932658c7e37b2951bc80fcb4353.tar.gz
extra-cmake-modules-822ebbc932887932658c7e37b2951bc80fcb4353.tar.bz2
Start to organize a bit kdecore, in subdirrectories
For now i have done the following division. kdecore/kernel : stuff related to the old KApplication kdecore/config : every class that inherit from KConfigBase kdecore/io : class related to files or process (like in qtcore/io) kdecore/date : stuff related to the date or the time (calendar, timezone, ...) kdecore/strings : operation on strings and strings localisation kdecore/sycoca : KSyCoCa related files This division is not in the stone, and there is still many files that have not been sorted svn path=/trunk/KDE/kdelibs/; revision=619422
-rw-r--r--modules/FindKDE4Internal.cmake14
1 files changed, 7 insertions, 7 deletions
diff --git a/modules/FindKDE4Internal.cmake b/modules/FindKDE4Internal.cmake
index 0dce1e0a..9c08b635 100644
--- a/modules/FindKDE4Internal.cmake
+++ b/modules/FindKDE4Internal.cmake
@@ -310,7 +310,7 @@ option(KDE4_ENABLE_FPIE "Enable platform supports PIE linking")
#are we trying to compile kdelibs ?
#then enter bootstrap mode
-if(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
+if(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kernel/kglobal.h)
message(STATUS "Building kdelibs...")
@@ -346,7 +346,7 @@ if(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
set(KDE4_INSTALLED_VERSION_OK TRUE)
-else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
+else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kernel/kglobal.h)
# ... but NOT otherwise
set( _KDE4_KCONFIG_COMPILER_DEP)
@@ -506,7 +506,7 @@ else(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
find_program(KDE4_MAKEKDEWIDGETS_EXECUTABLE NAME makekdewidgets )
endif (NOT KDE4_MAKEKDEWIDGETS_EXECUTABLE)
-endif(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
+endif(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kernel/kglobal.h)
##################### and now the platform specific stuff ############################
@@ -534,9 +534,9 @@ if (WIN32)
# if we are compiling kdelibs, add KDEWIN32_LIBRARIES explicitely,
# otherwise they come from KDELibsDependencies.cmake, Alex
- if(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
+ if(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kernel/kglobal.h)
set( KDE4_KDECORE_LIBS ${KDE4_KDECORE_LIBS} ${KDEWIN32_LIBRARIES} )
- endif(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
+ endif(EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kernel/kglobal.h)
# windows, mingw
if(MINGW)
@@ -775,7 +775,7 @@ endif (KDE4_INCLUDE_DIR AND KDE4_LIB_DIR AND KDE4_KCFGC_EXECUTABLE AND KDE4_INST
macro (KDE4_PRINT_RESULTS)
# inside kdelibs the include dir and lib dir are internal, not "found"
- if(NOT EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
+ if(NOT EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kernel/kglobal.h)
if(KDE4_INCLUDE_DIR)
message(STATUS "Found KDE4 include dir: ${KDE4_INCLUDE_DIR}")
else(KDE4_INCLUDE_DIR)
@@ -787,7 +787,7 @@ macro (KDE4_PRINT_RESULTS)
else(KDE4_LIB_DIR)
message(STATUS "Didn't find KDE4 core library")
endif(KDE4_LIB_DIR)
- endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kglobal.h)
+ endif(NOT EXISTS ${CMAKE_SOURCE_DIR}/kdecore/kernel/kglobal.h)
if(KDE4_KCFGC_EXECUTABLE)
message(STATUS "Found KDE4 kconfig_compiler preprocessor: ${KDE4_KCFGC_EXECUTABLE}")