Fixed incorrect handling of CMake options.
This commit is contained in:
parent
b7cd875f0e
commit
bda57b2fe7
@ -4,8 +4,8 @@ project(anthem CXX)
|
||||
option(ANTHEM_BUILD_TESTS "Build unit tests" OFF)
|
||||
option(ANTHEM_BUILD_STATIC "Build static binaries" OFF)
|
||||
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-g")
|
||||
set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wpedantic ${CMAKE_CXX_FLAGS}")
|
||||
set(CMAKE_CXX_FLAGS_DEBUG "-g ${CMAKE_CXX_FLAGS_DEBUG}")
|
||||
|
||||
set(CMAKE_CXX_STANDARD 14)
|
||||
set(CMAKE_CXX_STANDARD_REQUIRED ON)
|
||||
|
Loading…
Reference in New Issue
Block a user