Skip to content

Commit

Permalink
cmake: Fix check target with msbuild.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrfonseca committed Aug 27, 2015
1 parent 6641107 commit 9f63ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -476,7 +476,7 @@ enable_testing ()
if (CMAKE_CROSSCOMPILING)
add_custom_target (check)
else ()
add_custom_target (check COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure)
add_custom_target (check COMMAND ${CMAKE_CTEST_COMMAND} -C "$<CONFIG>" --output-on-failure)
endif ()

# Convenience macro for adding unit tests
Expand Down

0 comments on commit 9f63ffa

Please sign in to comment.