We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22ddb39 commit d7065b3Copy full SHA for d7065b3
examples/CMakeLists.txt
@@ -24,6 +24,6 @@ foreach(EXAMPLE IN LISTS EXAMPLES)
24
add_executable(${EXAMPLE} EXCLUDE_FROM_ALL "${EXAMPLE}.cpp")
25
target_link_libraries(${EXAMPLE} PRIVATE Traits::traits)
26
27
- add_test(NAME ${EXAMPLE} COMMAND ${EXAMPLE})
+ add_test(NAME ${EXAMPLE} COMMAND $<TARGET_FILE:${EXAMPLE}>)
28
add_dependencies(examples ${EXAMPLE})
29
endforeach()
0 commit comments