From 7c57d94ac0f1d29112d55375abc2ac1c0164a150 Mon Sep 17 00:00:00 2001 From: thysson2701 Date: Fri, 12 Jun 2026 20:05:39 +0200 Subject: [PATCH] fix(stable): Windows build erkennt wxWidgets-3.3 in lokalem Deps-Verzeichnis automatisch --- build_release_vs2022.bat | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build_release_vs2022.bat b/build_release_vs2022.bat index 72e2b931245..27d755bcf0c 100644 --- a/build_release_vs2022.bat +++ b/build_release_vs2022.bat @@ -62,7 +62,9 @@ cd %build_dir% echo on set CMAKE_POLICY_VERSION_MINIMUM=3.5 -cmake .. -G "Visual Studio 17 2022" -A x64 -DORCA_TOOLS=ON %SIG_FLAG% -DCMAKE_BUILD_TYPE=%build_type% +set "WX_FLAG=" +if exist "%WP%\deps\%build_dir%\OrcaSlicer_dep\usr\local\lib\cmake\wxWidgets-3.3" set "WX_FLAG=-DwxWidgets_DIR=%WP%\deps\%build_dir%\OrcaSlicer_dep\usr\local\lib\cmake\wxWidgets-3.3" +cmake .. -G "Visual Studio 17 2022" -A x64 -DORCA_TOOLS=ON %SIG_FLAG% %WX_FLAG% -DCMAKE_BUILD_TYPE=%build_type% cmake --build . --config %build_type% --target ALL_BUILD -- -m @echo off cd ..