Skip to content

Commit ed63041

Browse files
Wheels: Fix MACOS sed syntax
1 parent 8ad3bad commit ed63041

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/wheels.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,8 +203,8 @@ jobs:
203203
CXXFLAGS='-fPIC' CFLAGS='-fPIC' MACOSX_DEPLOYMENT_TARGET=10.15
204204
${{ matrix.config.arch == 'arm64' && 'SKIP_PYBIND11_STUBGEN=1' || '' }}
205205
CIBW_BEFORE_ALL_MACOS: >
206-
brew install cmake ninja &&
207-
sed -i 's/target_link_libraries.*/target_link_libraries(geant4_pybind PRIVATE ${Geant4_LIBRARIES} curl)/'
206+
brew install cmake &&
207+
sed -i '' 's/target_link_libraries.*/target_link_libraries(geant4_pybind PRIVATE ${Geant4_LIBRARIES} curl)/'
208208
"{package}/source/CMakeLists.txt" &&
209209
210210
git clone https://github.com/apache/xerces-c

0 commit comments

Comments
 (0)