]> git.jsancho.org Git - lugaru.git/blobdiff - CMakeLists.txt
Fixing some warnings
[lugaru.git] / CMakeLists.txt
index ef94e17f7757eea7a9b8fcc3dc807b67a76fca5d..4b6094c8408953d64902a3062a8c0a171e4462e6 100644 (file)
@@ -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")