aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/dice/CMakeLists.txt
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2022-04-13 15:24:02 +0200
committerRenaud G <renaud@rolisteam.org>2022-04-13 15:40:42 +0200
commit44bf6ecfdca6b0499b5ae2cf7b380a3ff310f0e9 (patch)
tree7a36c16a5d811f2dddcef123c666e0048ee33477 /tests/dice/CMakeLists.txt
parentc1dca21057dd81c66bf1e164f401b161c2d883ea (diff)
downloadOneRoll-44bf6ecfdca6b0499b5ae2cf7b380a3ff310f0e9.tar.gz
OneRoll-44bf6ecfdca6b0499b5ae2cf7b380a3ff310f0e9.zip
qt6 ready
Diffstat (limited to 'tests/dice/CMakeLists.txt')
-rw-r--r--tests/dice/CMakeLists.txt4
1 files changed, 2 insertions, 2 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)