Commit f0ed6187 authored by Laurent Montel's avatar Laurent Montel 😁

Fix add_test command

parent 1f08c472
......@@ -2,7 +2,7 @@ macro(add_conf_unittest _source)
set(_test ${_source} ../editdrawingtooldialog.cpp)
get_filename_component(_name ${_source} NAME_WE)
add_executable( ${_name} ${_test} )
add_test( ${_name} ${_name} )
add_test( NAME ${_name} COMMAND ${_name} )
ecm_mark_as_test(${_name})
target_link_libraries( ${_name}
Qt5::Test
......
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