Skip to content

Commit b4a0d47

Browse files
committed
Add fetch-content to cmake config in CI
Add CMAKE_PROJECT_TOP_LEVEL_INCLUDES to the config step in CI.
1 parent 007006a commit b4a0d47

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,12 @@ jobs:
9393
echo ${{ matrix.config.cmake_args }}
9494
echo ${{ matrix.config.toolchain }}
9595
rm -rf .build
96-
cmake ${{ matrix.config.cmake_args }} -DCMAKE_INSTALL_PREFIX=.install -DCMAKE_TOOLCHAIN_FILE="etc/${{ matrix.config.toolchain }}-toolchain.cmake" -B .build -S .
96+
cmake ${{ matrix.config.cmake_args }} \
97+
-DCMAKE_INSTALL_PREFIX=.install \
98+
-DCMAKE_TOOLCHAIN_FILE="etc/${{ matrix.config.toolchain }}-toolchain.cmake" \
99+
-DCMAKE_PROJECT_TOP_LEVEL_INCLUDES="./cmake/use-fetch-content.cmake" \
100+
-B .build \
101+
-S .
97102
- name: CMake ASAN Build
98103
run: |
99104
set -x

0 commit comments

Comments
 (0)