diff options
author | Alexander Neundorf <neundorf@kde.org> | 2008-05-10 21:48:49 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2008-05-10 21:48:49 +0000 |
commit | e679996e1a351e33d29c532e7871f47d59a3a0e3 (patch) | |
tree | 23ca0670c88b01ce0eaa338a483e2045dd7dba1e /CMakeLists.txt | |
parent | d4366ab703662b705ad10840c5beef47dfe8297b (diff) | |
download | extra-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.txt | 6 |
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) |