build: cmake warning error

This commit is contained in:
afwerar 2022-08-24 08:49:37 +08:00
parent 2944ca63af
commit 9411286595
1 changed files with 1 additions and 1 deletions

View File

@ -103,7 +103,7 @@ IF (TD_WINDOWS)
ELSE ()
IF (${TD_DARWIN})
set(CMAKE_MACOSX_RPATH 0)
ELSE ()
ENDIF ()
IF (${COVER} MATCHES "true")
MESSAGE(STATUS "Test coverage mode, add extra flags")
SET(GCC_COVERAGE_COMPILE_FLAGS "-fprofile-arcs -ftest-coverage")