aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>