diff --git a/nix/build-all.py b/nix/build-all.py index 30928c4201..8368d7501c 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1567,13 +1567,7 @@ if "cgal" in targets: build_dependency( name=cgal_name, mode="cmake", - build_tool_args=[ - f"-DGMP_LIBRARIES={Dependencies.get_install_dir('gmp')}/lib/libgmp.{LIBRARY_EXT}", - f"-DGMP_INCLUDE_DIR={Dependencies.get_install_dir('gmp')}/include", - f"-DMPFR_LIBRARIES={Dependencies.get_install_dir('mpfr')}/lib/libmpfr.{LIBRARY_EXT}", - f"-DMPFR_INCLUDE_DIR={Dependencies.get_install_dir('mpfr')}/include", - f"-DBoost_INCLUDE_DIR={Dependencies.get_install_dir('boost')}", - ], + build_tool_args=[], download_url="https://github.com/CGAL/cgal.git", download_name="cgal", download_tool=download_tool_git, diff --git a/win/build-deps.cmd b/win/build-deps.cmd index 912edb27ae..28ac20e28d 100644 --- a/win/build-deps.cmd +++ b/win/build-deps.cmd @@ -387,8 +387,6 @@ echo BOOST_INSTALL_DIR=%DEPENDENCY_INSTALL_DIR%>>"%~dp0\%BUILD_DEPS_CACHE_PATH%" :: TODO: remove it a bit later. IF EXIST "%DEPS_DIR%\boost_%BOOST_VERSION:.=_%". rmdir /s /q "%DEPS_DIR%\boost_%BOOST_VERSION:.=_%" -:: Needed for CGAL build. -set BOOST_ROOT=%DEPENDENCY_DIR% :: NOTE Also zip download exists, if encountering problems with 7z for some reason. set ZIP_EXT=7z set BOOST_ZIP=boost-%BOOST_VERSION%-b2-nodocs.%ZIP_EXT%