chore(CMake/Tests): use conventional CMake flag to enable tests (#3809)

This commit is contained in:
Francesco Borzì
2020-11-29 19:28:47 +01:00
committed by GitHub
parent 885f45c63c
commit c838b371dd
7 changed files with 7 additions and 7 deletions

View File

@@ -142,7 +142,7 @@ add_subdirectory(src)
CU_RUN_HOOK("AFTER_SRC_LOAD")
if( UNIT_TESTS )
if( BUILD_TESTING )
# we use these flags to get code coverage
set(UNIT_TEST_CXX_FLAGS "-fprofile-arcs -ftest-coverage -fno-inline")