cf12defd28
Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-openagent) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
17 lines
404 B
CMake
17 lines
404 B
CMake
include(ECMMarkAsTest)
|
|
|
|
macro(knotifications_executable_tests)
|
|
foreach(_testname ${ARGN})
|
|
add_executable(${_testname} ${_testname}.cpp)
|
|
target_link_libraries(${_testname} Qt6::DBus KF6::Notifications)
|
|
ecm_mark_as_test(${_testname})
|
|
endforeach(_testname)
|
|
endmacro()
|
|
|
|
if (HAVE_DBUS)
|
|
knotifications_executable_tests(
|
|
unitylaunchertest
|
|
knotificationdbustest
|
|
)
|
|
endif()
|