diff options
author | Stephen Kelly <steveire@gmail.com> | 2014-01-06 15:24:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-01-07 14:38:00 (GMT) |
commit | 28c865bb220882deab60091063ca7a1f8ab386f4 (patch) | |
tree | 679e2f4a71fb48ebba4dd85e94d70af96049a7e2 /Tests | |
parent | 6cfe6b881daab46abf97b8e8ccca3f906f8256fe (diff) | |
download | CMake-28c865bb220882deab60091063ca7a1f8ab386f4.zip CMake-28c865bb220882deab60091063ca7a1f8ab386f4.tar.gz CMake-28c865bb220882deab60091063ca7a1f8ab386f4.tar.bz2 |
Tests: simplify Qt4 target usage
This content was copied from another test where both the Core and Gui
targets are used.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CompatibleInterface/AutoUic.cmake | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Tests/RunCMake/CompatibleInterface/AutoUic.cmake b/Tests/RunCMake/CompatibleInterface/AutoUic.cmake index 86bd5a0..03635e2 100644 --- a/Tests/RunCMake/CompatibleInterface/AutoUic.cmake +++ b/Tests/RunCMake/CompatibleInterface/AutoUic.cmake @@ -1,9 +1,6 @@ find_package(Qt4 REQUIRED) -set(QT_CORE_TARGET Qt4::QtCore) -set(QT_GUI_TARGET Qt4::QtGui) - set(CMAKE_AUTOUIC ON) set(CMAKE_DEBUG_TARGET_PROPERTIES AUTOUIC_OPTIONS) @@ -19,4 +16,4 @@ set_property(TARGET OtherI18n APPEND PROPERTY ) add_library(LibWidget empty.cpp) -target_link_libraries(LibWidget KI18n OtherI18n ${QT_GUI_TARGET}) +target_link_libraries(LibWidget KI18n OtherI18n Qt4::QtGui) |