camke ctest: enable gtest colors

This commit is contained in:
Matthias Grob 2020-04-08 14:00:51 +02:00 committed by Mathieu Bresciani
parent adacca099d
commit 1e033c4719
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
option(ECL_TESTS "Build ECL tests" ON)
add_custom_target(check
COMMAND ${CMAKE_CTEST_COMMAND} --output-on-failure -C Debug
COMMAND GTEST_COLOR=1 ${CMAKE_CTEST_COMMAND} --output-on-failure -C Debug
DEPENDS ecl_EKF
USES_TERMINAL
)