Commit b68ff2e2 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

Use newer add_test() signature as needed with CMAKE_RUNTIME_OUTPUT_DIRECTORY

Required ECM >= 5.38 triggers that

GIT_SILENT
parent 0561f42a
function(add_unit_tests)
foreach(test ${ARGN})
add_executable(${test} ${test}.cpp)
add_test( ${test} ${test} )
add_test(NAME ${test} COMMAND ${test})
target_link_libraries(${test} Qt5::Test KF5::Cddb)
target_include_directories(${test}
PRIVATE ${CMAKE_SOURCE_DIR} # for libkcddb/ prefixed includes of library headers
......
Markdown is supported
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