build-deps/occt: use CMAKE_INSTALL_PREFIX for consistency with build-all

Switched from custom `INSTALL_DIR` to generic `CMAKE_INSTALL_PREFIX` in build-all in f3d1c62f5, mirroring the change on Windows too.
This commit is contained in:
Andrej730
2026-09-08 15:52:51 +05:00
parent 01d489589e
commit 69f5fca049
+3 -1
View File
@@ -512,7 +512,9 @@ cd "%DEPENDENCY_DIR%"
::
:: OCCT 7.8.1 we're using is becoming old and it was targeting cmake 3.1+.
::To make it buildable on cmake 4, we override policy version, but it may have some quirks in the future and we may consider version bump.
call :RunCMake -DINSTALL_DIR="%DEPENDENCY_INSTALL_DIR%" -DBUILD_LIBRARY_TYPE="Static" -DCMAKE_DEBUG_POSTFIX="" ^
call :RunCMake -DCMAKE_INSTALL_PREFIX="%DEPENDENCY_INSTALL_DIR%" ^
-DBUILD_LIBRARY_TYPE="Static" ^
-DCMAKE_DEBUG_POSTFIX="" ^
-DBUILD_MODULE_Draw=0 ^
-DBUILD_RELEASE_DISABLE_EXCEPTIONS=OFF ^
-DUSE_XLIB=OFF ^