File tree Expand file tree Collapse file tree 1 file changed +12
-4
lines changed
Expand file tree Collapse file tree 1 file changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -66,15 +66,23 @@ jobs:
6666
6767 - name : Configure CMake (Windows)
6868 if : runner.os == 'Windows'
69- run : cmake -B build -G Ninja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr/local
69+ run : cmake -B build -G Ninja -DCMAKE_C_COMPILER=cl -DCMAKE_CXX_COMPILER=cl -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="/"
7070
71- - name : Configure CMake (Unix)
72- if : runner.os != 'Windows'
71+ - name : Configure CMake (macOS)
72+ if : runner.os == 'macOS'
73+ run : |
74+ cmake -B build \
75+ -G Ninja \
76+ -DCMAKE_BUILD_TYPE=Release \
77+ -DCMAKE_INSTALL_PREFIX="/"
78+
79+ - name : Configure CMake (Linux)
80+ if : runner.os == 'Linux'
7381 run : |
7482 cmake -B build \
7583 -G Ninja \
7684 -DCMAKE_BUILD_TYPE=Release \
77- -DCMAKE_INSTALL_PREFIX=/usr/local
85+ -DCMAKE_INSTALL_PREFIX=/usr
7886
7987 - name : Build
8088 run : cmake --build build --config Release
You can’t perform that action at this time.
0 commit comments