summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2012-03-26 20:11:46 (GMT)
committerAlex Neundorf <neundorf@kde.org>2012-03-26 20:11:46 (GMT)
commit9b32475587c1b7a911e5c635611c1fe5296b8740 (patch)
tree07cd0975371072b8c15286c6e02b11087d8f9be3 /Tests
parent2066511ca9a0b86d45e07357ebec8dd07f1c93b9 (diff)
downloadCMake-9b32475587c1b7a911e5c635611c1fe5296b8740.zip
CMake-9b32475587c1b7a911e5c635611c1fe5296b8740.tar.gz
CMake-9b32475587c1b7a911e5c635611c1fe5296b8740.tar.bz2
automoc: add define to test which caused bug #13018
This does not really test that the bug is fixed, but at least it makes it easy to check manually whether the bug is there or not. I have to see whether I can build a test which does test that a target is not rebuilt everytime. Alex
Diffstat (limited to 'Tests')
-rw-r--r--Tests/QtAutomoc/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/QtAutomoc/CMakeLists.txt b/Tests/QtAutomoc/CMakeLists.txt
index d255a5a..5e3686d 100644
--- a/Tests/QtAutomoc/CMakeLists.txt
+++ b/Tests/QtAutomoc/CMakeLists.txt
@@ -8,7 +8,7 @@ include(UseQt4)
include_directories(${CMAKE_CURRENT_BINARY_DIR})
-add_definitions(-DFOO)
+add_definitions(-DFOO -DSomeDefine="Barx")
# enable relaxed mode so automoc can handle all the special cases:
set(CMAKE_AUTOMOC_RELAXED_MODE TRUE)