Skip to content

Commit

Permalink
Squashed 'src/phast/PhreeqcRM/' changes from 8a3a3813..50def481
Browse files Browse the repository at this point in the history
50def481 Set Python_SOABI to SKBUILD_SOABI (#186)

git-subtree-dir: src/phast/PhreeqcRM
git-subtree-split: 50def4813a75b5aa3522a27e908dd0d9f07ee916
  • Loading branch information
Darth Vader committed Dec 20, 2024
1 parent 955b9c1 commit 314af12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,11 @@ if(PHREEQCRM_BUILD_PYTHON)
# ie -DPython_ROOT_DIR=C:/Python38-x64
endif()

if(DEFINED SKBUILD)
# see https://scikit-build-core.readthedocs.io/en/latest/cmakelists.html
set(Python_SOABI ${SKBUILD_SOABI})
endif()

option(PHREEQCRM_NO_UTF8_ENCODING "Build without utf-8 encoding" OFF)

set(PhreeqcRM_SOURCES
Expand Down

0 comments on commit 314af12

Please # to comment.