link expat to ChemDraw_static (#8839)

This commit is contained in:
Ricardo Rodriguez
2025-10-03 17:12:49 +02:00
committed by GitHub
parent fbf4990709
commit 158db5d1a7

View File

@@ -95,6 +95,10 @@ endif()
endif(RDK_INSTALL_STATIC_LIBS)
endif()
if(TARGET ChemDraw_static)
target_link_libraries(ChemDraw_static PUBLIC expat)
endif()
install(TARGETS ChemDraw DESTINATION ${RDKit_LibDir})
if(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")