disable some warnings for the avalon code too

This commit is contained in:
Greg Landrum
2017-07-03 04:48:33 +02:00
parent 3e061504a4
commit c775897625

View File

@@ -80,6 +80,11 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
add_definitions(-D_GNU_SOURCE=1)
endif()
if (CMAKE_CXX_COMPILER_ID MATCHES "Clang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wno-parentheses -Wno-logical-op-parentheses -Wno-dangling-else -Wno-format")
endif()
rdkit_library(avalon_clib ${avalon_clib_srcs})