]> git.jsancho.org Git - lugaru.git/commitdiff
Ignoring parentheses warnings for now - too much of them it too messy code
authorCôme Chilliet <come@chilliet.eu>
Sun, 20 Nov 2016 15:50:22 +0000 (23:50 +0800)
committerCôme Chilliet <come@chilliet.eu>
Sun, 20 Nov 2016 15:50:22 +0000 (23:50 +0800)
CMakeLists.txt

index 57d8f86fea65dbc2c6a8ac73ab1a6f5f063da1dc..522b22f71f2bbe92ccf62c785b452d63baca94cf 100644 (file)
@@ -8,8 +8,8 @@ INCLUDE(FindPkgConfig)
 set(SRCDIR "${CMAKE_CURRENT_SOURCE_DIR}/Source")
 
 set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 --std=c++11")
-set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -g -pg --std=c++11")
-set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -O2 -std=c++11")
+set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-parentheses -g -pg --std=c++11")
+set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -Wno-parentheses -O2 -std=c++11")
 
 if(NOT LUGARU_INSTALL_PREFIX)
     if(WIN32)