diff --git a/nix/build-all.py b/nix/build-all.py index a312cdc0b6..30928c4201 100644 --- a/nix/build-all.py +++ b/nix/build-all.py @@ -1573,8 +1573,6 @@ if "cgal" in targets: 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')}", - f"-DCGAL_HEADER_ONLY=On", - f"-DBUILD_SHARED_LIBS=Off", ], download_url="https://github.com/CGAL/cgal.git", download_name="cgal", diff --git a/win/build-deps.cmd b/win/build-deps.cmd index da9c5eb980..912edb27ae 100644 --- a/win/build-deps.cmd +++ b/win/build-deps.cmd @@ -637,8 +637,7 @@ IF NOT %ERRORLEVEL%==0 GOTO :Error cd "%DEPENDENCY_DIR%" git reset --hard git apply --ignore-whitespace "%~dp0patches\cgal_no_zlib.patch" -call :RunCMake -DCMAKE_INSTALL_PREFIX="%INSTALL_DIR%\cgal" ^ - -DCGAL_HEADER_ONLY=On +call :RunCMake -DCMAKE_INSTALL_PREFIX="%INSTALL_DIR%\cgal" IF NOT %ERRORLEVEL%==0 GOTO :Error call :BuildCMakeProject "%DEPENDENCY_DIR%\%BUILD_DIR%" %BUILD_CFG% IF NOT %ERRORLEVEL%==0 GOTO :Error