aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-05-10 21:48:49 +0000
committerAlexander Neundorf <neundorf@kde.org>2008-05-10 21:48:49 +0000
commite679996e1a351e33d29c532e7871f47d59a3a0e3 (patch)
tree23ca0670c88b01ce0eaa338a483e2045dd7dba1e /CMakeLists.txt
parentd4366ab703662b705ad10840c5beef47dfe8297b (diff)
downloadextra-cmake-modules-e679996e1a351e33d29c532e7871f47d59a3a0e3.tar.gz
extra-cmake-modules-e679996e1a351e33d29c532e7871f47d59a3a0e3.tar.bz2
-use automoc4 from kdesupport if available, otherwise fallback to the one from kdelibs.
In a few weeks automoc4 from kdesupport will be required. Alex CCMAIL: kretz@kde.org svn path=/trunk/KDE/kdelibs/; revision=806300
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0a44a796..84430c07 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,4 +1,8 @@
-add_subdirectory(automoc)
+if(NOT AUTOMOC4_EXECUTABLE)
+ # this is just a fallback in case automoc4 from kdesupport isn't found, Alex
+ add_subdirectory(automoc)
+endif(NOT AUTOMOC4_EXECUTABLE)
+
add_subdirectory(modules)