From 1bb4d2c0ae469df3aee39116d63f9406b4c5d103 Mon Sep 17 00:00:00 2001 From: sjunges Date: Mon, 10 Aug 2015 16:45:35 +0200 Subject: [PATCH] silenced glpk warnings for clang on OSX Former-commit-id: 824def99bf9a8bed708e52b8777660c5f22be23a --- resources/3rdparty/glpk-4.53/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/3rdparty/glpk-4.53/CMakeLists.txt b/resources/3rdparty/glpk-4.53/CMakeLists.txt index 24ee34121..d206b7615 100644 --- a/resources/3rdparty/glpk-4.53/CMakeLists.txt +++ b/resources/3rdparty/glpk-4.53/CMakeLists.txt @@ -68,7 +68,7 @@ else(CLANG) # Set standard flags for clang set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -funroll-loops -O3") - set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-return-type -Wno-return-type-c-linkage -Wno-unused-variable") + set (CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-return-type -Wno-return-type-c-linkage -Wno-unused-label -Wno-unused-value -Wno-unused-function -Wno-unused-variable -Wno-logical-op-parentheses -Wno-macro-redefined -Wno-uninitialized -Wno-sometimes-uninitialized -Wno-self-assign") set (CMAKE_C_FLAGS_DEBUG "${CMAKE_C_FLAGS_DEBUG} -g") add_definitions(-DHAVE_CONFIG_H=1)