From d077488b318c3e2922a4ab4d43688585f0a76c3e Mon Sep 17 00:00:00 2001 From: samelian Date: Sun, 5 Dec 2010 18:49:24 +0000 Subject: [PATCH] [kde-common/cmake] added tde_include_tqt macro git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kde-common@1203936 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- cmake/modules/TDEMacros.cmake | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/cmake/modules/TDEMacros.cmake b/cmake/modules/TDEMacros.cmake index 95b8e16..cdb26a5 100644 --- a/cmake/modules/TDEMacros.cmake +++ b/cmake/modules/TDEMacros.cmake @@ -779,6 +779,17 @@ macro( tde_add_kdeinit_executable _target ) endmacro( tde_add_kdeinit_executable ) +################################################# +##### +##### tde_include_tqt + +macro( tde_include_tqt ) + foreach( _cpp ${ARGN} ) + set_source_files_properties( ${_cpp} PROPERTIES COMPILE_FLAGS "-include tqt.h" ) + endforeach() +endmacro( ) + + ################################################# ##### ##### tde_install_symlink