diff options
author | Alexander Neundorf <neundorf@kde.org> | 2006-01-18 22:54:09 +0000 |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2006-01-18 22:54:09 +0000 |
commit | 68d6f53496e05bd43e2777479a0fe441524d1d9e (patch) | |
tree | e64d68ab4951df7bb02f09ddd8eeaac83dbe95cb /am2cmake | |
parent | 0d87c6e52d0dae7cda5b61991089738c95fe8067 (diff) | |
download | extra-cmake-modules-68d6f53496e05bd43e2777479a0fe441524d1d9e.tar.gz extra-cmake-modules-68d6f53496e05bd43e2777479a0fe441524d1d9e.tar.bz2 |
-improve automoc with absolute file paths
-use ${QT_INCLUDES} everywhere
-recognize QT3SUPPORTLIB and DCOP_LIB in am2cmake
Alex
svn path=/trunk/KDE/kdesdk/cmake/; revision=499877
Diffstat (limited to 'am2cmake')
-rwxr-xr-x | am2cmake | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -125,6 +125,8 @@ class BuildTarget previousWasVersionInfo=false libs.split.each do |currentLib| lib=case currentLib + when "$(LIB_QT3SUPPORT)" then "${QT_QT3SUPPORT_LIBRARY}" + when "$(DCOP_LIB)" then "DCOP" when "$(LIB_KDEUI)" then "kdeui" # when "${LIB_KDECORE}" then "${QT_AND_KDECORE_LIBS}" when "$(LIB_KIO)" then "kio" @@ -203,7 +205,7 @@ class CMakeFile @includeDirs.push("${QT_INCLUDE_DIR}") elsif $buildType==BuildKDE4 @includeDirs.push("${KDE4_INCLUDE_DIR}") - @includeDirs.push("${QT_INCLUDE_DIR}") + @includeDirs.push("${QT_INCLUDES}") end @includeDirs.push("${CMAKE_CURRENT_SOURCE_DIR}") @includeDirs.push("${CMAKE_CURRENT_BINARY_DIR}") |