Skip to content

Commit bb96f7c

Browse files
Build - add ldpk_URL to mmSolver build component
This is now required, but was missing for Windows.
1 parent a03cc5a commit bb96f7c

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

scripts/internal/build_mmSolver_windows64.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,6 +180,13 @@ IF EXIST "C:\MinGW" (
180180
SET IGNORE_INCLUDE_DIRECTORIES="C:\MinGW\bin;C:\MinGW\include"
181181
)
182182

183+
:: A local copy of LDPK to reduce the amount of downloads to the
184+
:: 3DEqualizer website (LDPK doesn't have a git repo to clone from).
185+
SET LDPK_URL="%PROJECT_ROOT%\external\archives\ldpk-2.12.0.tar"
186+
:: Convert back-slashes to forward-slashes.
187+
:: https://stackoverflow.com/questions/23542453/change-backslash-to-forward-slash-in-windows-batch-file
188+
SET "LDPK_URL=%LDPK_URL:\=/%"
189+
183190
:: Get the git branch name, commit long and short hashes.
184191
::
185192
:: NOTE: Assumes the current working directory is the project root.
@@ -257,6 +264,7 @@ CHDIR "%BUILD_DIR%"
257264
-DMMSOLVERLIBS_LIB_DIR=%MMSOLVERLIBS_LIB_DIR% ^
258265
-Dmmsolverlibs_rust_DIR=%MMSOLVERLIBS_RUST_DIR% ^
259266
-Dmmsolverlibs_cpp_DIR=%MMSOLVERLIBS_CMAKE_CONFIG_DIR% ^
267+
-Dldpk_URL=%LDPK_URL% ^
260268
-DOpenColorIO_DIR=%OCIO_CMAKE_CONFIG_DIR% ^
261269
-DOCIO_INSTALL_EXT_PACKAGES=NONE ^
262270
-DopenMVG_USE_AVX=0 ^

0 commit comments

Comments
 (0)