Skip to content

Commit 5fb797f

Browse files
committed
Do not clobber cxx flags
1 parent 39cf91e commit 5fb797f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Set (VERSION "0.15")
66

77

88
# Default definitions
9-
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-unused -Wshadow -Woverloaded-virtual")
9+
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -Wno-unused -Wshadow -Woverloaded-virtual")
1010
if(CMAKE_BUILD_TYPE STREQUAL "Release")
1111
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -g0")
1212
elseif(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo")

0 commit comments

Comments
 (0)