summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutomoc/Adir
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2013-05-21 19:12:35 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2013-05-21 19:12:35 (GMT)
commit80f30aa6bf76c795631f576a25295f59b077afef (patch)
tree5dccd5029da4cea9a5a0e941187fd6cdbcbba976 /Tests/QtAutomoc/Adir
parentf206cce2cac8b018d94b2c4f39b35c6928d38bd3 (diff)
parent6489015c75367493c9ea6a7bea69b67a88972651 (diff)
downloadCMake-80f30aa6bf76c795631f576a25295f59b077afef.zip
CMake-80f30aa6bf76c795631f576a25295f59b077afef.tar.gz
CMake-80f30aa6bf76c795631f576a25295f59b077afef.tar.bz2
Merge topic 'Automoc-Qt4-Qt5'
6489015 Remove an endif() followed by an if() for the same condition. e7813b1 Add a test for Qt5Automoc 27fb96b Make the QtAutomoc test compile with either Qt 4 or Qt 5
Diffstat (limited to 'Tests/QtAutomoc/Adir')
-rw-r--r--Tests/QtAutomoc/Adir/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/QtAutomoc/Adir/CMakeLists.txt b/Tests/QtAutomoc/Adir/CMakeLists.txt
index 1712223..a1c36ff 100644
--- a/Tests/QtAutomoc/Adir/CMakeLists.txt
+++ b/Tests/QtAutomoc/Adir/CMakeLists.txt
@@ -4,5 +4,5 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_INCLUDE_CURRENT_DIR_IN_INTERFACE ON)
add_library(libA SHARED libA.cpp)
-target_link_libraries(libA LINK_PUBLIC Qt4::QtCore)
+target_link_libraries(libA LINK_PUBLIC ${QT_QTCORE_TARGET})
generate_export_header(libA)