Skip to content

Commit

Permalink
RDK_INSTALL_STATIC_LIBS is now only set to ON for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
KevKeating committed Feb 13, 2025
1 parent 3c09915 commit dabeb62
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ else()
set(EXTRA_QT_CMAKE_ARGS "")
endif()

if(WIN32)
set(RDKIT_INSTALL_STATIC_LIBS_VAL ON)
else()
set(RDKIT_INSTALL_STATIC_LIBS_VAL OFF)
endif()

ExternalProject_Add(
fmt
GIT_REPOSITORY https://github.com/fmtlib/fmt.git
Expand Down Expand Up @@ -130,7 +136,7 @@ ExternalProject_Add(
-DRDK_BUILD_XYZ2MOL_SUPPORT=ON
-DRDK_INSTALL_COMIC_FONTS=OFF
-DRDK_INSTALL_INTREE=OFF
-DRDK_INSTALL_STATIC_LIBS=ON
-DRDK_INSTALL_STATIC_LIBS=${RDKIT_INSTALL_STATIC_LIBS_VAL}
-DRDK_OPTIMIZE_POPCNT=OFF
-DRDK_USE_BOOST_STACKTRACE=OFF)

Expand Down

0 comments on commit dabeb62

Please sign in to comment.