From 6f7e0c33efa62e9ba227347f7a162ddae317ec67 Mon Sep 17 00:00:00 2001 From: Matthias Kretz Date: Wed, 14 May 2008 15:39:57 +0000 Subject: the _dummy.cpp file for kdeinit executables doesn't need to have automoc4 to run on it svn path=/trunk/KDE/kdelibs/; revision=807733 --- modules/KDE4Macros.cmake | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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 -- cgit v1.2.1