diff options
author | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-06-11 17:46:58 +0200 |
---|---|---|
committer | Alexey Rusakov <Kitsune-Ral@users.sf.net> | 2021-06-12 20:44:42 +0200 |
commit | dcbb2cfd0e238f788105d7d249f8aac6ad0823e4 (patch) | |
tree | a93197c02652be3e75bb63854d8636ec5637428f /autotests | |
parent | 0571ba1fb1948a6cc050230a85201291ababbf04 (diff) | |
download | libquotient-dcbb2cfd0e238f788105d7d249f8aac6ad0823e4.tar.gz libquotient-dcbb2cfd0e238f788105d7d249f8aac6ad0823e4.zip |
CMakeLists: require at least Qt 5.12; add Qt 6 support
Diffstat (limited to 'autotests')
-rw-r--r-- | autotests/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/CMakeLists.txt b/autotests/CMakeLists.txt index 07f1f046..282ab036 100644 --- a/autotests/CMakeLists.txt +++ b/autotests/CMakeLists.txt @@ -7,7 +7,7 @@ include(CMakeParseArguments) function(QUOTIENT_ADD_TEST) cmake_parse_arguments(ARG "" "NAME" "" ${ARGN}) add_executable(${ARG_NAME} ${ARG_NAME}.cpp) - target_link_libraries(${ARG_NAME} Qt5::Core Qt5::Test Quotient) + target_link_libraries(${ARG_NAME} ${Qt}::Core ${Qt}::Test Quotient) add_test(NAME ${ARG_NAME} COMMAND ${ARG_NAME}) endfunction() |