aboutsummaryrefslogtreecommitdiff
path: root/am2cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2006-01-18 22:54:09 +0000
committerAlexander Neundorf <neundorf@kde.org>2006-01-18 22:54:09 +0000
commit68d6f53496e05bd43e2777479a0fe441524d1d9e (patch)
treee64d68ab4951df7bb02f09ddd8eeaac83dbe95cb /am2cmake
parent0d87c6e52d0dae7cda5b61991089738c95fe8067 (diff)
downloadextra-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-xam2cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/am2cmake b/am2cmake
index bd9f7b9a..298447db 100755
--- a/am2cmake
+++ b/am2cmake
@@ -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}")