Skip to content

Commit 9db6ce7

Browse files
committed
Try to fix CMake build error with newer CMake versions.
1 parent 3aae83d commit 9db6ce7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
shell: bash
2222
run: |
2323
mkdir -p build/_deps && mv textadept-build/* build/_deps && rm -r textadept-build
24-
cmake -S . -B build -D CMAKE_INSTALL_PREFIX=build/install
24+
cmake -S . -B build -D CMAKE_INSTALL_PREFIX=build/install \
25+
-D CMAKE_POLICY_VERSION_MINIMUM=3.5 # for diff-match-patch-cpp-stl
2526
cmake --build build --config Release --target diff -j
2627
cmake --install build --config Release
2728
- name: Upload artifacts

0 commit comments

Comments
 (0)