mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
disable some warnings for the avalon code too
This commit is contained in:
5
External/AvalonTools/CMakeLists.txt
vendored
5
External/AvalonTools/CMakeLists.txt
vendored
@@ -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})
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user