Skip to content

Commit 4788b6b

Browse files
gunjjoshimarton78
authored andcommitted
Update c-cpp.yml
1 parent a9786ad commit 4788b6b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

.github/workflows/c-cpp.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
repository: hayguen/MIPP
2626
path: ./MIPP
2727
- name: cmake configure MIPP
28-
run: cmake -S MIPP -B MIPP_build -DCMAKE_INSTALL_PREFIX=$HOME/.local
28+
run: cmake -S MIPP -B MIPP_build -DCMAKE_INSTALL_PREFIX=$HOME/.local -DCMAKE_POLICY_VERSION_MINIMUM=3.5
2929
- name: cmake install MIPP headers
3030
run: cmake --build MIPP_build --target install && ls -alh $HOME/.local/ && ls -alh $HOME/.local/include/
3131

@@ -85,7 +85,7 @@ jobs:
8585
path: ./MIPP
8686
- name: cmake configure MIPP
8787
working-directory: ${{runner.workspace}}
88-
run: cmake -S pffft/MIPP -B MIPP_build -DCMAKE_INSTALL_PREFIX=$(pwd)
88+
run: cmake -S pffft/MIPP -B MIPP_build -DCMAKE_INSTALL_PREFIX=$(pwd) -DCMAKE_POLICY_VERSION_MINIMUM=3.5
8989
- name: cmake install MIPP headers
9090
working-directory: ${{runner.workspace}}
9191
run: cmake --build MIPP_build --target install
@@ -130,7 +130,7 @@ jobs:
130130
- name: cmake configure MIPP
131131
shell: bash
132132
working-directory: ${{runner.workspace}}
133-
run: cmake -S pffft/MIPP -B MIPP_build -DCMAKE_INSTALL_PREFIX=$(pwd)
133+
run: cmake -S pffft/MIPP -B MIPP_build -DCMAKE_INSTALL_PREFIX=$(pwd) -DCMAKE_POLICY_VERSION_MINIMUM=3.5
134134
- name: cmake install MIPP headers
135135
working-directory: ${{runner.workspace}}
136136
run: cmake --build MIPP_build --target install
@@ -255,7 +255,7 @@ jobs:
255255
repository: hayguen/MIPP
256256
path: ./MIPP
257257
- name: cmake configure MIPP
258-
run: cmake -S MIPP -B MIPP_build -DCMAKE_INSTALL_PREFIX=$HOME/.local
258+
run: cmake -S MIPP -B MIPP_build -DCMAKE_INSTALL_PREFIX=$HOME/.local -DCMAKE_POLICY_VERSION_MINIMUM=3.5
259259
- name: cmake install MIPP headers
260260
run: cmake --build MIPP_build --target install && ls -alh $HOME/.local/ && ls -alh $HOME/.local/include/
261261

0 commit comments

Comments
 (0)