aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-12-14 21:23:07 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-12-14 21:23:07 +0000
commit4c11eb8050bdfc8465f45700e4d0969337999e08 (patch)
tree70b567f19a33b0a84cc26cfff982c88f86830650
parent6c7568d6bc02570b267c2f0f7832fa33fc91fff7 (diff)
downloadextra-cmake-modules-4c11eb8050bdfc8465f45700e4d0969337999e08.tar.gz
extra-cmake-modules-4c11eb8050bdfc8465f45700e4d0969337999e08.tar.bz2
-break the long line into multiple lines
-don't glob for *.py files but instead list them all explicitely (same would be nice for the *cmake files but it's just too convenient) Alex svn path=/trunk/KDE/kdelibs/; revision=896959
-rw-r--r--modules/CMakeLists.txt15
1 files changed, 12 insertions, 3 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index 32493031..b9dea894 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -1,11 +1,20 @@
-# install the cmake files
+## install the cmake files
file(GLOB cmakeFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.cmake")
-file(GLOB pyfiles "${CMAKE_CURRENT_SOURCE_DIR}/*.py")
set(module_install_dir ${DATA_INSTALL_DIR}/cmake/modules )
-install( FILES cmake-modules-styleguide.txt kde4init_dummy.cpp.in kde4init_win32lib_dummy.cpp.in kde4_cmake_uninstall.cmake.in kde4automoc.files.in ${cmakeFiles} ${pyfiles}
+install( FILES cmake-modules-styleguide.txt
+ kde4init_dummy.cpp.in
+ kde4init_win32lib_dummy.cpp.in
+ kde4_cmake_uninstall.cmake.in
+ kde4automoc.files.in
+ FindLibPython.py
+ FindPyKDE4.py
+ FindPyQt.py
+ FindSIP.py
+ PythonCompile.py
+ ${cmakeFiles}
DESTINATION ${module_install_dir} )
# the files listed here will be removed by remove_obsoleted_cmake_files.cmake, Alex