Skip to content

Commit 23c880f

Browse files
setting CMake policy for 3rd party dependencies
1 parent 3bcb319 commit 23c880f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build_run_unit_test_cmake.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: create-build-dir
2929
run: mkdir build
3030
- name: configure-cmake
31-
run: cd build && cmake -D WAIT_QUEUE_BUILD_TESTS:BOOL=ON -D WAIT_QUEUE_BUILD_EXAMPLES:BOOL=ON -D JM_CIRCULAR_BUFFER_BUILD_TESTS:BOOL=OFF ..
31+
run: cd build && cmake -D CMAKE_POLICY_VERSION_MINIMUM=3.5 -D WAIT_QUEUE_BUILD_TESTS:BOOL=ON -D WAIT_QUEUE_BUILD_EXAMPLES:BOOL=ON -D JM_CIRCULAR_BUFFER_BUILD_TESTS:BOOL=OFF ..
3232
- name: build
3333
run: cd build && cmake --build . --config $BUILD_TYPE
3434
- name: run-unit-test

0 commit comments

Comments
 (0)