Commit 85a171df authored by Dominik Charousset's avatar Dominik Charousset

Fix CMake string escaping for GCOV flags

parent ee3f4710
...@@ -154,8 +154,8 @@ if(CAF_CXX_WARNINGS_AS_ERRORS) ...@@ -154,8 +154,8 @@ if(CAF_CXX_WARNINGS_AS_ERRORS)
endif() endif()
# set compiler flags for GCOV if requested # set compiler flags for GCOV if requested
if(CAF_ENABLE_GCOV) if(CAF_ENABLE_GCOV)
set(EXTRA_FLAGS "${EXTRA_FLAGS} -fprofile-arcs -ftest-coverage -fno-inline " set(NO_INLINE "-fno-inline -fno-inline-small-functions -fno-default-inline")
"-fno-inline-small-functions -fno-default-inline") set(EXTRA_FLAGS "${EXTRA_FLAGS} -fprofile-arcs ${NO_INLINE}")
endif() endif()
# enable a ton of warnings if --more-clang-warnings is used # enable a ton of warnings if --more-clang-warnings is used
if(CAF_MORE_WARNINGS) if(CAF_MORE_WARNINGS)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment