From 44bf6ecfdca6b0499b5ae2cf7b380a3ff310f0e9 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Wed, 13 Apr 2022 15:24:02 +0200 Subject: qt6 ready --- tests/dice/CMakeLists.txt | 4 ++-- tests/fuzzer/CMakeLists.txt | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/dice/CMakeLists.txt b/tests/dice/CMakeLists.txt index e2e580a..35f255b 100644 --- a/tests/dice/CMakeLists.txt +++ b/tests/dice/CMakeLists.txt @@ -1,6 +1,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fno-permissive -pedantic -Wall -Wextra") set(CMAKE_AUTOMOC ON) -find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Svg Test) +find_package(Qt6 ${QT_REQUIRED_VERSION} CONFIG REQUIRED COMPONENTS Core Gui Svg Test) set(test_source testnode.cpp tst_dice.cpp) @@ -10,5 +10,5 @@ target_include_directories(test_dice PRIVATE ../../include ../../ ../../node ../ find_library(DICEPARSER_LIBRARY diceparser HINTS ${CMAKE_CURRENT_BINARY_DIR}/../../) -target_link_libraries(test_dice PUBLIC Qt5::Core Qt5::Gui Qt5::Test diceparser_shared) +target_link_libraries(test_dice PUBLIC Qt6::Core Qt6::Gui Qt6::Test diceparser_shared) add_test(tst_diceparser test_dice) diff --git a/tests/fuzzer/CMakeLists.txt b/tests/fuzzer/CMakeLists.txt index a3d4e7c..ae9242d 100644 --- a/tests/fuzzer/CMakeLists.txt +++ b/tests/fuzzer/CMakeLists.txt @@ -22,5 +22,5 @@ set(fdsource testcase.cpp) add_executable(fuzzTestCase ${fdsource} ) -target_link_libraries(fuzzTestCase libdiceparser.a Qt5::Core Qt5::Gui Qt5::Svg Qt5::Concurrent) +target_link_libraries(fuzzTestCase libdiceparser.a Qt6::Core Qt6::Gui Qt6::Svg Qt6::Concurrent) #target_link_libraries(fuzzTestCase ) -- cgit v1.2.3-70-g09d2