diff options
author | Brad King <brad.king@kitware.com> | 2013-05-21 19:12:42 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2013-05-21 19:12:42 (GMT) |
commit | 1a2a0daddad3b1e460e5bc9e6f6795524f7c573b (patch) | |
tree | 7bde747031d178e325b856b104b6f784d4afe11d /Tests/QtAutomoc/CMakeLists.txt | |
parent | 80f30aa6bf76c795631f576a25295f59b077afef (diff) | |
parent | 5c0f2a131f358ac11da52a919f637b57d34cc544 (diff) | |
download | CMake-1a2a0daddad3b1e460e5bc9e6f6795524f7c573b.zip CMake-1a2a0daddad3b1e460e5bc9e6f6795524f7c573b.tar.gz CMake-1a2a0daddad3b1e460e5bc9e6f6795524f7c573b.tar.bz2 |
Merge topic 'test-moc-with-empty-COMPILE_DEFINITIONS'
5c0f2a1 Test the use of target transitive compile definitions with moc.
Diffstat (limited to 'Tests/QtAutomoc/CMakeLists.txt')
-rw-r--r-- | Tests/QtAutomoc/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/QtAutomoc/CMakeLists.txt b/Tests/QtAutomoc/CMakeLists.txt index 655942f..69e52ac 100644 --- a/Tests/QtAutomoc/CMakeLists.txt +++ b/Tests/QtAutomoc/CMakeLists.txt @@ -5,6 +5,9 @@ project(QtAutomoc) if (QT_TEST_VERSION STREQUAL 4) find_package(Qt4 REQUIRED) + # Include this directory before using the UseQt4 file. + add_subdirectory(defines_test) + include(UseQt4) set(QT_QTCORE_TARGET Qt4::QtCore) |