Skip to content

Commit

Permalink
build xerces static correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
lobis committed Dec 5, 2023
1 parent 3625e54 commit f0c75f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
git -C xerces-source checkout tags/v3.2.4
mkdir -p ${{ github.workspace }}/xerces-source/build
cd ${{ github.workspace }}/xerces-source/build
cmake .. -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/xerces -DCMAKE_CXX_STANDARD=20 -DXERCESC_BUILD_STATIC=ON -DXERCESC_BUILD_SHARED=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-fPIC
cmake .. -DCMAKE_INSTALL_PREFIX=${{ github.workspace }}/xerces -DCMAKE_CXX_STANDARD=20 -DBUILD_SHARED_LIBS=OFF -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS=-fPIC
make install -j$(nproc)
- name: Cache Geant4 Installation
Expand Down

0 comments on commit f0c75f1

Please sign in to comment.