summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutomoc/Adir
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-03-16 14:52:18 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-03-16 17:57:01 (GMT)
commite7813b15a63a4ff5150d22b01ef47b51b22045e5 (patch)
tree4fcfa972f2295cc680430cd2093864eac5dc1303 /Tests/QtAutomoc/Adir
parent27fb96b9783ba13ce4c8bd681b73c6f3a892d90c (diff)
downloadCMake-e7813b15a63a4ff5150d22b01ef47b51b22045e5.zip
CMake-e7813b15a63a4ff5150d22b01ef47b51b22045e5.tar.gz
CMake-e7813b15a63a4ff5150d22b01ef47b51b22045e5.tar.bz2
Add a test for Qt5Automoc
The same source is used as for the Qt4Automoc test.
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 abd328e..ebfdb5d 100644
--- a/Tests/QtAutomoc/Adir/CMakeLists.txt
+++ b/Tests/QtAutomoc/Adir/CMakeLists.txt
@@ -4,5 +4,5 @@ set(CMAKE_AUTOMOC ON)
set(CMAKE_BUILD_INTERFACE_INCLUDES 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)