Skip to content

Commit 314af12

Browse files
author
Darth Vader
committed
Squashed 'src/phast/PhreeqcRM/' changes from 8a3a3813..50def481
50def481 Set Python_SOABI to SKBUILD_SOABI (#186) git-subtree-dir: src/phast/PhreeqcRM git-subtree-split: 50def4813a75b5aa3522a27e908dd0d9f07ee916
1 parent 955b9c1 commit 314af12

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

+5
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,11 @@ if(PHREEQCRM_BUILD_PYTHON)
105105
# ie -DPython_ROOT_DIR=C:/Python38-x64
106106
endif()
107107

108+
if(DEFINED SKBUILD)
109+
# see https://scikit-build-core.readthedocs.io/en/latest/cmakelists.html
110+
set(Python_SOABI ${SKBUILD_SOABI})
111+
endif()
112+
108113
option(PHREEQCRM_NO_UTF8_ENCODING "Build without utf-8 encoding" OFF)
109114

110115
set(PhreeqcRM_SOURCES

0 commit comments

Comments
 (0)