diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-02-18 09:39:00 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-02-18 09:39:00 +0000 |
commit | c8cfc66d8bb19de0848bf475651b34d07b093b97 (patch) | |
tree | 68501d911fe03aea9acb88bff138eba592a6a826 /modules/KDE4Macros.cmake | |
parent | 877e4bdedab9045e55cd182a9442c348ac8769ee (diff) | |
download | extra-cmake-modules-c8cfc66d8bb19de0848bf475651b34d07b093b97.tar.gz extra-cmake-modules-c8cfc66d8bb19de0848bf475651b34d07b093b97.tar.bz2 |
-renamed the KDE4_something_DIR to something_INSTALL_DIR
except KDE4_INCLUDE_DIR, since this is used for compiling and not for installing
-change the detection of KDE4_MODULE_DIR to use CMAKE_CURRENT_LIST_FILE
I could not commit to kio/kssl/kssl/, so this may break installing there
Alex
CCMAIL: kde-buildsystem@kde.org
CCMAIL: montel@kde.org
svn path=/trunk/KDE/kdelibs/; revision=510826
Diffstat (limited to 'modules/KDE4Macros.cmake')
-rw-r--r-- | modules/KDE4Macros.cmake | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index 613cc359..fcbb874b 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -133,12 +133,8 @@ MACRO(KDE4_ADD_KCFG_FILES _sources) ENDMACRO(KDE4_ADD_KCFG_FILES) -if(EXISTS "${CMAKE_ROOT}/Modules/kde4init_dummy.cpp.in") - set(KDE4_MODULE_DIR "${CMAKE_ROOT}/Modules") -else(EXISTS "${CMAKE_ROOT}/Modules/kde4init_dummy.cpp.in") - set(KDE4_MODULE_DIR "${CMAKE_SOURCE_DIR}/cmake/modules") -endif(EXISTS "${CMAKE_ROOT}/Modules/kde4init_dummy.cpp.in") +GET_FILENAME_COMPONENT( KDE4_MODULE_DIR ${CMAKE_CURRENT_LIST_FILE} PATH) #create the implementation files from the ui files and add them to the list of sources #usage: KDE_ADD_UI_FILES(foo_SRCS ${ui_files}) |