aboutsummaryrefslogtreecommitdiff
path: root/tests/client
diff options
context:
space:
mode:
authorOPNA2608 <opna2608@protonmail.com>2026-03-26 14:14:24 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2026-06-11 20:55:49 +0200
commitf619b88dbac8ad009ca5f5cddb696f32878d0f72 (patch)
tree9508dc301a5b68b0e09ad1863b0856846e8e6b3b /tests/client
parentf33cda5c57dab104163fe6884e2e15f3bac79c07 (diff)
downloadqmenumodel-f619b88dbac8ad009ca5f5cddb696f32878d0f72.tar.gz
qmenumodel-f619b88dbac8ad009ca5f5cddb696f32878d0f72.tar.bz2
qmenumodel-f619b88dbac8ad009ca5f5cddb696f32878d0f72.zip
treewide: Allow Qt6 build to be configured via CMake
Diffstat (limited to 'tests/client')
-rw-r--r--tests/client/CMakeLists.txt22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/client/CMakeLists.txt b/tests/client/CMakeLists.txt
index 05d31f3..8a0ed49 100644
--- a/tests/client/CMakeLists.txt
+++ b/tests/client/CMakeLists.txt
@@ -1,16 +1,16 @@
macro(declare_test testname)
add_executable(${testname} ${testname}.cpp)
target_link_libraries(${testname}
- qmenumodel
+ qmenumodel${QMENUMODEL_LIB_SUFFIX}
dbusmenuscript
${GLIB_LDFLAGS}
${GIO_LDFLAGS}
- Qt5::Core
- Qt5::DBus
- Qt5::Widgets
- Qt5::Test
- Qt5::Qml
- Qt5::Quick
+ Qt::Core
+ Qt::DBus
+ Qt::Widgets
+ Qt::Test
+ Qt::Qml
+ Qt::Quick
)
if(TEST_XML_OUTPUT)
@@ -34,11 +34,11 @@ endmacro(declare_test testname)
macro(declare_simple_test testname)
add_executable(${testname} ${testname}.cpp)
target_link_libraries(${testname}
- qmenumodel
+ qmenumodel${QMENUMODEL_LIB_SUFFIX}
${GLIB_LDFLAGS}
${GIO_LDFLAGS}
- Qt5::Core
- Qt5::Test
+ Qt::Core
+ Qt::Test
)
add_test(${testname}
@@ -76,7 +76,7 @@ if (ENABLE_COVERAGE)
find_package(CoverageReport)
ENABLE_COVERAGE_REPORT(
TARGETS
- qmenumodel
+ qmenumodel${QMENUMODEL_LIB_SUFFIX}
FILTER
${CMAKE_SOURCE_DIR}/tests/*
${CMAKE_BINARY_DIR}/*