X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=CMakeLists.txt;fp=CMakeLists.txt;h=4b6094c8408953d64902a3062a8c0a171e4462e6;hb=51a0860281c8978f5404c730eb809fb455d99aea;hp=ef94e17f7757eea7a9b8fcc3dc807b67a76fca5d;hpb=30f342b219632ea3e777388a9530340baf4d7aac;p=lugaru.git diff --git a/CMakeLists.txt b/CMakeLists.txt index ef94e17..4b6094c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -23,7 +23,7 @@ if(NOT CMAKE_BUILD_TYPE) endif(NOT CMAKE_BUILD_TYPE) message("CMake build type: ${CMAKE_BUILD_TYPE}") -set(CMAKE_CXX_FLAGS "-Wall -Wno-parentheses -pedantic --std=gnu++11 ${CMAKE_CXX_FLAGS}") +set(CMAKE_CXX_FLAGS "-Wall -Wextra -Wno-parentheses -pedantic --std=gnu++11 ${CMAKE_CXX_FLAGS}") if(APPLE) set(CMAKE_OSX_ARCHITECTURES "x86_64" CACHE STRING "Build architectures for OSX")