Skip to content

Commit

Permalink
cmake: append to CMAKE_CXX_FLAGS instead of overwriting it (#68)
Browse files Browse the repository at this point in the history
cmake: append to CMAKE_CXX_FLAGS instead of overwriting it (#68): addresses #67
  • Loading branch information
paulo-erichsen authored Jun 25, 2020
1 parent 62364d1 commit b08b36a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ endif()

message(STATUS "The CXX standard is c++${REDIS_PLUS_PLUS_CXX_STANDARD}")

set(CMAKE_CXX_FLAGS "-std=c++${REDIS_PLUS_PLUS_CXX_STANDARD} -Wall -W -Werror -fPIC")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++${REDIS_PLUS_PLUS_CXX_STANDARD} -Wall -W -Werror -fPIC")

set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)

Expand Down

0 comments on commit b08b36a

Please sign in to comment.