summaryrefslogtreecommitdiffstats
path: root/Modules/AutomocInfo.cmake.in
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-12-13 21:11:47 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-12-13 21:11:47 (GMT)
commit96fc5d5d0701c98a5029469c8a9dcc6aa6576278 (patch)
treea9de1452d820e43e9e548d2b77feb8f86eb21d98 /Modules/AutomocInfo.cmake.in
parent3c101429a4e563f4c711cae84317806284784eb6 (diff)
downloadCMake-96fc5d5d0701c98a5029469c8a9dcc6aa6576278.zip
CMake-96fc5d5d0701c98a5029469c8a9dcc6aa6576278.tar.gz
CMake-96fc5d5d0701c98a5029469c8a9dcc6aa6576278.tar.bz2
automoc: default to strict mode, use CMAKE_AUTOMOC_RELAXED_MODE
automoc now defaults to strict mode, also with Qt4, i.e. it behaves as the documentation says by default. I also inverted the switch CMAKE_AUTOMOC_STRICT_MODE to CMAKE_AUTOMOC_RELAXED_MODE. Docs and test adapted accordingly. Alex
Diffstat (limited to 'Modules/AutomocInfo.cmake.in')
-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 44f2da2..29dab97 100644
--- a/Modules/AutomocInfo.cmake.in
+++ b/Modules/AutomocInfo.cmake.in
@@ -13,4 +13,4 @@ set(AM_CMAKE_CURRENT_BINARY_DIR "@CMAKE_CURRENT_BINARY_DIR@/")
set(AM_QT_VERSION_MAJOR "@QT_VERSION_MAJOR@" )
set(AM_Qt5Core_VERSION_MAJOR "@Qt5Core_VERSION_MAJOR@" )
set(AM_TARGET_NAME "@_moc_target_name@")
-set(AM_STRICT_MODE "@_moc_strict_mode@")
+set(AM_RELAXED_MODE "@_moc_relaxed_mode@")