Fix runtests target for multi-configuration generators

This commit is contained in:
kimci86 2022-01-21 12:30:37 +01:00 committed by Lukas Dürrenberger
parent 052e624ddf
commit ad21794f39

View File

@ -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>
)