Commit f020ddf1 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: we depend against 5.15. So we can use Qt::

parent 98036731
Pipeline #64546 passed with stage
in 1 minute and 58 seconds
...@@ -5,41 +5,41 @@ include_directories(AFTER "${CMAKE_CURRENT_SOURCE_DIR}/../src") ...@@ -5,41 +5,41 @@ include_directories(AFTER "${CMAKE_CURRENT_SOURCE_DIR}/../src")
ecm_add_test( ecm_add_test(
basic.cpp basic.cpp
TEST_NAME basic TEST_NAME basic
LINK_LIBRARIES Qt5::Test LINK_LIBRARIES Qt::Test
NAME_PREFIX "UnitTest-" NAME_PREFIX "UnitTest-"
) )
ecm_add_test( ecm_add_test(
test_KBlocksGameLogic.cpp test_KBlocksGameLogic.cpp
TEST_NAME KBlocksGameLogic TEST_NAME KBlocksGameLogic
LINK_LIBRARIES Qt5::Test KBlocksCore LINK_LIBRARIES Qt::Test KBlocksCore
NAME_PREFIX "UnitTest-" NAME_PREFIX "UnitTest-"
) )
ecm_add_test( ecm_add_test(
test_KBlocksItemGroup.cpp test_KBlocksItemGroup.cpp
TEST_NAME KBlocksItemGroup TEST_NAME KBlocksItemGroup
LINK_LIBRARIES Qt5::Test KBlocksCore LINK_LIBRARIES Qt::Test KBlocksCore
NAME_PREFIX "UnitTest-" NAME_PREFIX "UnitTest-"
) )
ecm_add_test( ecm_add_test(
test_KBlocksScene.cpp test_KBlocksScene.cpp
TEST_NAME KBlocksScene TEST_NAME KBlocksScene
LINK_LIBRARIES Qt5::Test KBlocksCore LINK_LIBRARIES Qt::Test KBlocksCore
NAME_PREFIX "UnitTest-" NAME_PREFIX "UnitTest-"
) )
ecm_add_test( ecm_add_test(
test_KBlocksWin.cpp test_KBlocksWin.cpp
TEST_NAME KBlocksWin TEST_NAME KBlocksWin
LINK_LIBRARIES Qt5::Test KBlocksCore KBlocksTesting LINK_LIBRARIES Qt::Test KBlocksCore KBlocksTesting
NAME_PREFIX "UnitTest-" NAME_PREFIX "UnitTest-"
) )
ecm_add_test( ecm_add_test(
test_View-Scene.cpp test_View-Scene.cpp
TEST_NAME View-Scene TEST_NAME View-Scene
LINK_LIBRARIES Qt5::Test KBlocksCore LINK_LIBRARIES Qt::Test KBlocksCore
NAME_PREFIX "IntegrationTest-" NAME_PREFIX "IntegrationTest-"
) )
...@@ -54,12 +54,12 @@ add_library(KBlocksCore STATIC ${kblockscore_SRCS}) ...@@ -54,12 +54,12 @@ add_library(KBlocksCore STATIC ${kblockscore_SRCS})
target_link_libraries(KBlocksCore target_link_libraries(KBlocksCore
KF5KDEGames KF5KDEGames
KF5KDEGamesPrivate KF5KDEGamesPrivate
Qt5::Network Qt::Network
KF5::Crash KF5::Crash
KF5::DBusAddons KF5::DBusAddons
KF5::XmlGui KF5::XmlGui
KF5::I18n KF5::I18n
Qt5::Svg Qt::Svg
) )
add_subdirectory(Testing) add_subdirectory(Testing)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment