summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-05-27 18:53:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-05-27 18:56:07 (GMT)
commitf77631672168b1e3b5fad93c2bb83db65cb67e7b (patch)
tree896242c1aff49eceed103bab6afc283ee193f0f6 /Modules
parentab7cd03cea8651fa1aea9c109fabc69b4e247062 (diff)
downloadCMake-f77631672168b1e3b5fad93c2bb83db65cb67e7b.zip
CMake-f77631672168b1e3b5fad93c2bb83db65cb67e7b.tar.gz
CMake-f77631672168b1e3b5fad93c2bb83db65cb67e7b.tar.bz2
Use the qt5::moc imported target instead of a variable.
The variable is provided in the Qt5 config files only for compatibility with this automoc feature, so use the more-future-proof method instead.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/AutomocInfo.cmake.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/AutomocInfo.cmake.in b/Modules/AutomocInfo.cmake.in
index 640bf70..e5bee86 100644
--- a/Modules/AutomocInfo.cmake.in
+++ b/Modules/AutomocInfo.cmake.in
@@ -6,7 +6,7 @@ set(AM_MOC_OPTIONS @_moc_options@)
set(AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE "@CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE@")
set(AM_CMAKE_BINARY_DIR "@CMAKE_BINARY_DIR@/")
set(AM_CMAKE_SOURCE_DIR "@CMAKE_SOURCE_DIR@/")
-set(AM_QT_MOC_EXECUTABLE "@QT_MOC_EXECUTABLE@")
+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@" )