mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-13 01:08:35 +00:00
chore(CMake/Tests): use conventional CMake flag to enable tests (#3809)
This commit is contained in:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user