fix(CI): correct cmake prefix path for appveyor build

This commit is contained in:
2024-09-23 20:45:38 +08:00
parent 618a350e0d
commit 04ed6d435c
2 changed files with 3 additions and 3 deletions

View File

@ -40,7 +40,7 @@ build_script:
# finally...
- mkdir build
- cd build
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=%CMAKE_INSTALL_ROOT% -DCMAKE_INSTALL_PREFIX='%cd%'
- cmake .. -G "Ninja" -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=%PACKAGE_INSTALL_ROOT% -DCMAKE_INSTALL_PREFIX='%cd%'
- cmake --build .
- cmake --build . --target install
# fixme: I don't know how to NOT make the binary installed to the ./bin/ folder...