Rex Dieter 29094f
From b0184fe96b1a07b57cb489eb87710dc33f070dc1 Mon Sep 17 00:00:00 2001
Rex Dieter 29094f
From: Stephen Kelly <steveire@gmail.com>
Rex Dieter 29094f
Date: Sun, 19 Jul 2015 21:24:18 +0200
Rex Dieter 29094f
Subject: [PATCH 30/33] Don't attempt to read the DEFINITIONS property.
Rex Dieter 29094f
Rex Dieter 29094f
It was replaced by COMPILE_DEFINITIONS long ago.
Rex Dieter 29094f
---
Rex Dieter 29094f
 Automoc4Config.cmake | 2 --
Rex Dieter 29094f
 1 file changed, 2 deletions(-)
Rex Dieter 29094f
Rex Dieter 29094f
diff --git a/Automoc4Config.cmake b/Automoc4Config.cmake
Rex Dieter 29094f
index f0dc204..d048686 100644
Rex Dieter 29094f
--- a/Automoc4Config.cmake
Rex Dieter 29094f
+++ b/Automoc4Config.cmake
Rex Dieter 29094f
@@ -132,7 +132,6 @@ macro(AUTOMOC4 _target_NAME _SRCS)
Rex Dieter 29094f
    if(_moc_files)
Rex Dieter 29094f
       set(_automoc_source "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}_automoc.cpp")
Rex Dieter 29094f
       get_directory_property(_moc_incs INCLUDE_DIRECTORIES)
Rex Dieter 29094f
-      get_directory_property(_moc_defs DEFINITIONS)
Rex Dieter 29094f
       get_directory_property(_moc_cdefs COMPILE_DEFINITIONS)
Rex Dieter 29094f
 
Rex Dieter 29094f
       # Assume CMAKE_INCLUDE_CURRENT_DIR is set
Rex Dieter 29094f
@@ -198,7 +197,6 @@ macro(_ADD_AUTOMOC4_TARGET _target_NAME _SRCS)
Rex Dieter 29094f
       set(_automoc_source "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}.cpp")
Rex Dieter 29094f
       set(_automoc_dotFiles "${CMAKE_CURRENT_BINARY_DIR}/${_target_NAME}.cpp.files")
Rex Dieter 29094f
       get_directory_property(_moc_incs INCLUDE_DIRECTORIES)
Rex Dieter 29094f
-      get_directory_property(_moc_defs DEFINITIONS)
Rex Dieter 29094f
       get_directory_property(_moc_cdefs COMPILE_DEFINITIONS)
Rex Dieter 29094f
 
Rex Dieter 29094f
       # Assume CMAKE_INCLUDE_CURRENT_DIR is set
Rex Dieter 29094f
-- 
Rex Dieter 29094f
2.4.3
Rex Dieter 29094f