summaryrefslogtreecommitdiffstats
path: root/Tests/QtAutogen/MacOsFW/test/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/QtAutogen/MacOsFW/test/CMakeLists.txt')
-rw-r--r--Tests/QtAutogen/MacOsFW/test/CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/Tests/QtAutogen/MacOsFW/test/CMakeLists.txt b/Tests/QtAutogen/MacOsFW/test/CMakeLists.txt
index 521c184..8cb1bc5 100644
--- a/Tests/QtAutogen/MacOsFW/test/CMakeLists.txt
+++ b/Tests/QtAutogen/MacOsFW/test/CMakeLists.txt
@@ -4,16 +4,16 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}/../src
)
include_directories(SYSTEM
- ${Qt5Core_INCLUDE_DIRS}
- ${Qt5Widgets_INCLUDE_DIRS}
+ ${Qt${QT_TEST_VERSION}Core_INCLUDE_DIRS}
+ ${Qt${QT_TEST_VERSION}Widgets_INCLUDE_DIRS}
)
set(testname AutomocMacosFWLib)
add_executable(${testname} testMacosFWLib.cpp)
set_target_properties(${testname} PROPERTIES AUTOMOC TRUE)
-target_link_libraries(${testname}
- Qt5::Core
- Qt5::Widgets
- Qt5::Test
+target_link_libraries(${testname} PRIVATE
+ Qt${QT_TEST_VERSION}::Core
+ Qt${QT_TEST_VERSION}::Widgets
+ Qt${QT_TEST_VERSION}::Test
macos_fw_lib
)