diff options
| author | 2022-04-13 15:24:02 +0200 | |
|---|---|---|
| committer | 2022-04-13 15:40:42 +0200 | |
| commit | 44bf6ecfdca6b0499b5ae2cf7b380a3ff310f0e9 (patch) | |
| tree | 7a36c16a5d811f2dddcef123c666e0048ee33477 /tests | |
| parent | c1dca21057dd81c66bf1e164f401b161c2d883ea (diff) | |
| download | OneRoll-44bf6ecfdca6b0499b5ae2cf7b380a3ff310f0e9.tar.gz OneRoll-44bf6ecfdca6b0499b5ae2cf7b380a3ff310f0e9.zip | |
qt6 ready
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/dice/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | tests/fuzzer/CMakeLists.txt | 2 |
2 files changed, 3 insertions, 3 deletions
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 ) |