diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index d0ab901..02d973e 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,7 +1,10 @@ add_definitions(-DG_LOG_DOMAIN="${CMAKE_PROJECT_NAME}") -set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CXX_WARNING_ARGS} ${GCOV_FLAGS}") +add_compile_options( + ${CXX_WARNING_ARGS} + ${GCOV_FLAGS} +) add_library( ${SERVICE_LIB} |