diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-03-16 14:52:18 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-03-16 17:57:01 (GMT) |
commit | e7813b15a63a4ff5150d22b01ef47b51b22045e5 (patch) | |
tree | 4fcfa972f2295cc680430cd2093864eac5dc1303 /Tests/QtAutomoc/Adir | |
parent | 27fb96b9783ba13ce4c8bd681b73c6f3a892d90c (diff) | |
download | CMake-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.txt | 2 |
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) |