Skip to content

Commit

Permalink
Adding CMAKE_PREFIX_PATH so RDKit can find Boost
Browse files Browse the repository at this point in the history
  • Loading branch information
KevKeating committed Feb 26, 2025
1 parent 9e603c6 commit 4c98fbd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/sketcher-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ jobs:
- name: Fetch RDKit
id: fetch-rdkit
uses: ./.github/actions/build-external
env:
CMAKE_PREFIX_PATH: "${{ steps.fetch-boost.outputs.path }}"
with:
library: rdkit
version: ${{ fromJson(env.VERSIONS_JSON).rdkit }}
Expand Down
2 changes: 1 addition & 1 deletion external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ endif()
if(EMSCRIPTEN)
set(EXTRA_BOOST_CMAKE_ARGS
-DBOOST_DISABLE_THREADING=ON
-DCMAKE_CXX_FLAGS=-fdeclspec\ -pthread
-DCMAKE_CXX_FLAGS=-fdeclspec\ -pthread\ -use-port=zlib
)
endif()

Expand Down

0 comments on commit 4c98fbd

Please sign in to comment.