diff options
| -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  | 
