mirror of
https://github.com/rdkit/rdkit.git
synced 2026-06-03 21:44:30 +08:00
remove some warnings with -Wextra (#7339)
This commit is contained in:
4
External/CoordGen/CMakeLists.txt
vendored
4
External/CoordGen/CMakeLists.txt
vendored
@@ -85,6 +85,10 @@ if(RDK_BUILD_COORDGEN_SUPPORT)
|
||||
CACHE STRING "CoordGen Include File" FORCE)
|
||||
file(GLOB CGSOURCES "${COORDGEN_DIR}/*.cpp")
|
||||
rdkit_library(coordgen ${CGSOURCES} SHARED)
|
||||
if(CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
||||
target_compile_options(coordgen PUBLIC -Wno-unused-but-set-variable)
|
||||
target_compile_options(coordgen_static PUBLIC -Wno-unused-but-set-variable)
|
||||
endif()
|
||||
install(TARGETS coordgen DESTINATION ${RDKit_LibDir})
|
||||
set(RDK_COORDGEN_LIBS coordgen CACHE STRING "the external libraries" FORCE)
|
||||
|
||||
|
||||
4
External/YAeHMOP/CMakeLists.txt
vendored
4
External/YAeHMOP/CMakeLists.txt
vendored
@@ -9,8 +9,8 @@ if(NOT DEFINED YAEHMOP_DIR)
|
||||
endif()
|
||||
|
||||
if(NOT EXISTS "${YAEHMOP_DIR}/tightbind/bind.h")
|
||||
set(RELEASE_NO "2023.03.1")
|
||||
set(MD5 "e6450f13e02c54d024233b993c3c7ff6")
|
||||
set(RELEASE_NO "2024.03.1")
|
||||
set(MD5 "ebbddca4f79ab71544cb1fef9a7eca8a")
|
||||
downloadAndCheckMD5("https://github.com/greglandrum/yaehmop/archive/refs/tags/v${RELEASE_NO}.tar.gz"
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/yaehmop-${RELEASE_NO}.tar.gz" ${MD5})
|
||||
execute_process(COMMAND ${CMAKE_COMMAND} -E tar zxf
|
||||
|
||||
Reference in New Issue
Block a user