build: define CGLM_DEFINE_PRINTS to enable print functions for test results

This commit is contained in:
Recep Aslantas
2020-07-31 12:41:53 +03:00
parent 06016220c0
commit 40d903c2bc
2 changed files with 2 additions and 0 deletions

View File

@@ -16,6 +16,7 @@ set(TEST_MAIN tests)
set(TEST_RUNNER_PARAMS "")
add_executable(${TEST_MAIN} ${TESTFILES})
target_compile_definitions(${TEST_MAIN} PRIVATE CGLM_DEFINE_PRINTS=1)
target_link_libraries(${TEST_MAIN} PRIVATE cglm m)
target_include_directories(${TEST_MAIN} PRIVATE