summaryrefslogtreecommitdiffstats
path: root/Modules/AutomocInfo.cmake.in
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2011-11-09 22:17:20 (GMT)
committerStephen Kelly <steveire@gmail.com>2011-11-09 22:20:20 (GMT)
commit812dab067e5ea053ca36db6089507db7a5de437e (patch)
tree6ab78f551fc3fbc9700e3a7449b1a09e6eb9802d /Modules/AutomocInfo.cmake.in
parentc208ab8d5ca0c8ee3819c8e318290f829275c228 (diff)
downloadCMake-812dab067e5ea053ca36db6089507db7a5de437e.zip
CMake-812dab067e5ea053ca36db6089507db7a5de437e.tar.gz
CMake-812dab067e5ea053ca36db6089507db7a5de437e.tar.bz2
Don't assume the existence of QT_MAJOR_VERSION.
Also handle Qt5SrcTools_MAJOR_VERSION.
Diffstat (limited to 'Modules/AutomocInfo.cmake.in')
-rw-r--r--Modules/AutomocInfo.cmake.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/AutomocInfo.cmake.in b/Modules/AutomocInfo.cmake.in
index 2dc3aa2..5d440fb 100644
--- a/Modules/AutomocInfo.cmake.in
+++ b/Modules/AutomocInfo.cmake.in
@@ -10,4 +10,5 @@ set(AM_QT_MOC_EXECUTABLE "@QT_MOC_EXECUTABLE@")
set(AM_CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@/")
set(AM_CMAKE_CURRENT_BINARY_DIR "@CMAKE_CURRENT_BINARY_DIR@/")
set(AM_QT_VERSION_MAJOR "@QT_VERSION_MAJOR@" )
+set(AM_Qt5SrcTools_VERSION_MAJOR "@Qt5SrcTools_VERSION_MAJOR@" )
set(AM_TARGET_NAME "@_moc_target_name@")