summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorsamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-06 17:59:05 +0000
committersamelian <samelian@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-06 17:59:05 +0000
commit307136d8eef0ba133b78ceee8e901138d4c996a1 (patch)
tree2916945fecf041fc7eb9621de25ae33bad14f7ab /CMakeLists.txt
parent0951e055d48aea46ff659fdc9e23fa5edfceabcf (diff)
downloadtdelibs-307136d8eef0ba133b78ceee8e901138d4c996a1.tar.gz
tdelibs-307136d8eef0ba133b78ceee8e901138d4c996a1.zip
[kdelibs] added "-include tqt.h" to CMAKE_CXX_FLAGS; using new export mechanism
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212368 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 2f46d5a0b..69a7169be 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -754,6 +754,7 @@ add_definitions(
-DQT_NO_TRANSLATION
)
+set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -include tqt.h" )
set( CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined" )
set( CMAKE_MODULE_LINKER_FLAGS "-Wl,--no-undefined" )
@@ -819,4 +820,4 @@ add_subdirectory( mimetypes )
##### install import cmake modules ###############
-install( EXPORT ${CMAKE_PROJECT_NAME} DESTINATION ${CMAKE_INSTALL_DIR} )
+tde_install_export( )