Skip to content

Commit

Permalink
fix prefix paths when building example
Browse files Browse the repository at this point in the history
  • Loading branch information
tamasmeszaros committed Aug 8, 2023
1 parent 58c3392 commit bf285fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ jobs:
working-directory: ${{github.workspace}}/example/build_fp
shell: bash
run: |
cmake .. -DCMAKE_PREFIX_PATH=${{github.workspace}}/build/dist
cmake .. -DCMAKE_PREFIX_PATH=${{github.workspace}}/build/dist;${{github.workspace}}/deps/build/destdir/usr/local
cmake --build .
- name: Build example (using add_subdirectory)
working-directory: ${{github.workspace}}/example/build_subd
shell: bash
run: |
cmake .. -DBGCODE_AS_SUBPROJECT=ON
cmake .. -DBGCODE_AS_SUBPROJECT=ON -DCMAKE_PREFIX_PATH=${{github.workspace}}/deps/build/destdir/usr/local
cmake --build .
- uses: actions/upload-artifact@v3 # upload test results
Expand Down

0 comments on commit bf285fe

Please sign in to comment.