mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 14:23:53 +00:00
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:
+3
-1
@@ -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 ^
|
||||
|
||||
Reference in New Issue
Block a user