Skip to content

Commit 8ad3bad

Browse files
Wheels: MACOS link libcurl
1 parent bb61f15 commit 8ad3bad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/wheels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ jobs:
204204
${{ matrix.config.arch == 'arm64' && 'SKIP_PYBIND11_STUBGEN=1' || '' }}
205205
CIBW_BEFORE_ALL_MACOS: >
206206
brew install cmake ninja &&
207+
sed -i 's/target_link_libraries.*/target_link_libraries(geant4_pybind PRIVATE ${Geant4_LIBRARIES} curl)/'
208+
"{package}/source/CMakeLists.txt" &&
209+
207210
git clone https://github.com/apache/xerces-c
208211
"{package}/${{ env.XERCES_C_SOURCE_DIR }}" &&
209212
cd "{package}/${{ env.XERCES_C_SOURCE_DIR }}" &&

0 commit comments

Comments
 (0)