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
This commit is contained in:
Alex Neundorf 2012-03-26 22:11:46 +02:00
parent 2066511ca9
commit 9b32475587
1 changed files with 1 additions and 1 deletions

View File

@ -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)