diff options
author | Matthias Kretz <kretz@kde.org> | 2008-05-14 15:39:57 +0000 |
---|---|---|
committer | Matthias Kretz <kretz@kde.org> | 2008-05-14 15:39:57 +0000 |
commit | 6f7e0c33efa62e9ba227347f7a162ddae317ec67 (patch) | |
tree | 4da7e0dbe1f3275e0bf46b370c973104af1c2fac /modules | |
parent | e679996e1a351e33d29c532e7871f47d59a3a0e3 (diff) | |
download | extra-cmake-modules-6f7e0c33efa62e9ba227347f7a162ddae317ec67.tar.gz extra-cmake-modules-6f7e0c33efa62e9ba227347f7a162ddae317ec67.tar.bz2 |
the _dummy.cpp file for kdeinit executables doesn't need to have automoc4 to run on it
svn path=/trunk/KDE/kdelibs/; revision=807733
Diffstat (limited to 'modules')
-rw-r--r-- | modules/KDE4Macros.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/KDE4Macros.cmake b/modules/KDE4Macros.cmake index f5658620..b7eb6ad7 100644 --- a/modules/KDE4Macros.cmake +++ b/modules/KDE4Macros.cmake @@ -727,6 +727,7 @@ macro (KDE4_ADD_KDEINIT_EXECUTABLE _target_NAME ) kde4_check_executable_params(_SRCS _nogui _uninst _test ${ARGN}) configure_file(${KDE4_MODULE_DIR}/kde4init_dummy.cpp.in ${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_dummy.cpp) + set_source_files_properties(${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_dummy.cpp PROPERTIES SKIP_AUTOMOC TRUE) # under Windows, build a normal executable and additionally a dummy kdeinit4_foo.lib, whose only purpose on windows is to # keep the linking logic from the CMakeLists.txt on UNIX working (under UNIX all necessary libs are linked against the kdeinit # library instead against the executable, under windows we want to have everything in the executable, but for compatibility we have to |