aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-01-22 19:09:20 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-01-22 19:09:20 +0000
commit92b2d3880bc24d8675eac69992cd10d4ec10080a (patch)
treee1f323b8a8aed00fae96b2426515d605775e0a3d
parent633d9d3a85a68f175a4d1c263e0275563d57b079 (diff)
downloadextra-cmake-modules-92b2d3880bc24d8675eac69992cd10d4ec10080a.tar.gz
extra-cmake-modules-92b2d3880bc24d8675eac69992cd10d4ec10080a.tar.bz2
make install now installs all cmake files into the cmake module directory
Alex svn path=/trunk/KDE/kdesdk/cmake/; revision=501385
-rw-r--r--modules/CMakeLists.txt9
-rw-r--r--modules/README7
2 files changed, 13 insertions, 3 deletions
diff --git a/modules/CMakeLists.txt b/modules/CMakeLists.txt
index a7fa49a9..85c9279d 100644
--- a/modules/CMakeLists.txt
+++ b/modules/CMakeLists.txt
@@ -1,3 +1,10 @@
SET(CMAKE_INSTALL_PREFIX ${CMAKE_ROOT} )
-INSTALL_FILES(/Modules FILES FindKDE3.cmake KDE3Macros.cmake kde3init_dummy.cpp.in kde3uic.cmake )
+
+FILE(GLOB cmakeFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.cmake")
+
+INSTALL_FILES(/Modules FILES
+kde3init_dummy.cpp.in
+kde4init_dummy.cpp.in
+${cmakeFiles}
+)
diff --git a/modules/README b/modules/README
index 3dc1eb80..e13ffafd 100644
--- a/modules/README
+++ b/modules/README
@@ -1,5 +1,8 @@
-these are modules for detecting software packages needed by KDE, but not yet
-part of cmake
+these are additional cmake modules required for compiling KDE3 or KDE4
+applications with cmake. Some of them are enhanced versions of the files
+coming with cmake, some of them are not yet part of cmake.
+To use them, copy them into the cmake Module directory or
+run "cmake ." followed by "make install"
Alex <neundorf@kde.org>