summaryrefslogtreecommitdiffstats
path: root/Modules/AutomocInfo.cmake.in
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-09-05 20:13:30 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-09-05 20:13:30 (GMT)
commit894e91a9457800d729f079ec3842e0d0e34b5a50 (patch)
tree32c8f3ddf8cfe72cbd38a95f84e66a063c693748 /Modules/AutomocInfo.cmake.in
parent825d1abf14f8ad880c7e2b3207881b06c43385a6 (diff)
downloadCMake-894e91a9457800d729f079ec3842e0d0e34b5a50.zip
CMake-894e91a9457800d729f079ec3842e0d0e34b5a50.tar.gz
CMake-894e91a9457800d729f079ec3842e0d0e34b5a50.tar.bz2
Automoc: do not use DEFINITIONS, but only COMPILE_DEFINITIONS
The docs say that this is for cmake 2.4 backwards compatibility only, so we probably don't need to support it. Alex
Diffstat (limited to 'Modules/AutomocInfo.cmake.in')
-rw-r--r--Modules/AutomocInfo.cmake.in1
1 files changed, 0 insertions, 1 deletions
diff --git a/Modules/AutomocInfo.cmake.in b/Modules/AutomocInfo.cmake.in
index 13f2161..640bf70 100644
--- a/Modules/AutomocInfo.cmake.in
+++ b/Modules/AutomocInfo.cmake.in
@@ -1,7 +1,6 @@
set(AM_SOURCES @_moc_files@ )
set(AM_HEADERS @_moc_headers@ )
set(AM_MOC_COMPILE_DEFINITIONS @_moc_compile_defs@)
-set(AM_MOC_DEFINITIONS @_moc_defs@)
set(AM_MOC_INCLUDES @_moc_incs@)
set(AM_MOC_OPTIONS @_moc_options@)
set(AM_CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE "@CMAKE_INCLUDE_DIRECTORIES_PROJECT_BEFORE@")