From ae935a91f3bb7beebfad14c857af2a3b3c43b971 Mon Sep 17 00:00:00 2001 From: Jan Kleinert Date: Wed, 20 Nov 2024 12:38:14 +0100 Subject: [PATCH] try to fix windows build --- cpacscreator/bld.bat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpacscreator/bld.bat b/cpacscreator/bld.bat index 5cc4205..e213230 100644 --- a/cpacscreator/bld.bat +++ b/cpacscreator/bld.bat @@ -1,10 +1,14 @@ mkdir build cd build +REM We need own flags as conda turns on program size optimization +REM which ends up in huge static library sizes +set CFLAGS= +set CXXFLAGS= + REM Configure step cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX="%LIBRARY_PREFIX%" ^ -DCMAKE_PREFIX_PATH="%LIBRARY_PREFIX%" ^ - -DCMAKE__STATIC_LINKER_FLAGS="/LTCG" ^ -DCMAKE_SYSTEM_PREFIX_PATH="%LIBRARY_PREFIX%" ^ -DTIGL_VIEWER=ON ^ -DTIGL_BINDINGS_PYTHON_INTERNAL=ON ^