Add CMAKE_INSTALL_PREFIX to CMake configuration

This commit is contained in:
Maarten L. Hekkelman
2025-11-27 15:57:07 +01:00
committed by GitHub
parent a6933af8f0
commit fe3ac968b3

View File

@@ -70,6 +70,7 @@ jobs:
-S ${{github.workspace}}/libcifpp
-DBUILD_DOCUMENTATION=OFF
-DBUILD_TESTING=OFF
-DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local
- name: Build libcifpp
run: cmake --build ${{github.workspace}}/libcifpp/build --config ${{env.BUILD_TYPE}}
@@ -90,6 +91,7 @@ jobs:
-DBUILD_TESTING=ON
-DBUILD_PYTHON_MODULE=ON
-S ${{ github.workspace }}
-DCMAKE_INSTALL_PREFIX=${{github.workspace}}/local
- name: Build
run: cmake --build ${{ steps.strings.outputs.build-output-dir }} --config Release