Fix runtests target for multi-configuration generators
This commit is contained in:
parent
052e624ddf
commit
ad21794f39
@ -59,5 +59,5 @@ add_custom_target(runtests ALL
|
||||
|
||||
add_custom_command(TARGET runtests
|
||||
COMMENT "Run tests"
|
||||
POST_BUILD COMMAND ctest ARGS --output-on-failure
|
||||
POST_BUILD COMMAND "${CMAKE_CTEST_COMMAND}" --output-on-failure -C $<CONFIG>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user