File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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 ^
You can’t perform that action at this time.
0 commit comments