* updated firefox (133.0.3 -> 134.0.2)
[t2sde.git] / package / graphic / prusa-slicer / wxwidget-version.patch.disabled
blob06b4306e9f040da7a3137f65d1dd5022254d0a3d
1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # T2 SDE: package/*/prusa-slicer/wxwidget-version.patch.disabled
3 # Copyright (C) 2023 The T2 SDE Project
4
5 # This Copyright note is generated by scripts/Create-CopyPatch,
6 # more information can be found in the files COPYING and README.
7
8 # This patch file is dual-licensed. It is available under the license the
9 # patched project is licensed under, as long as it is an OpenSource license
10 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
11 # of the GNU General Public License version 2 as used by the T2 SDE.
12 # --- T2-COPYRIGHT-NOTE-END ---
14 --- PrusaSlicer-version_2.6.0-alpha6/src/CMakeLists.txt.vanilla 2023-04-15 23:51:04.163763870 +0200
15 +++ PrusaSlicer-version_2.6.0-alpha6/src/CMakeLists.txt 2023-04-15 23:52:06.462763836 +0200
16 @@ -52,10 +52,13 @@
17          if (SLIC3R_WX_STABLE)
18              find_package(wxWidgets 3.0 REQUIRED COMPONENTS base core adv html gl)
19          else ()
20 -            find_package(wxWidgets 3.1 QUIET COMPONENTS base core adv html gl)
21 +            #find_package(wxWidgets 3.1 QUIET COMPONENTS base core adv html gl)
22 +            message(STATUS "Trying to find wxWidgets in CONFIG mode...")
23 +            find_package(wxWidgets 3.2.1 REQUIRED COMPONENTS html adv gl core base)
24 +            slic3r_remap_configs(wx::wxhtml wx::wxadv wx::wxgl wx::wxcore wx::wxbase RelWithDebInfo Release)
26              if (NOT wxWidgets_FOUND)
27 -                message(FATAL_ERROR "\nCould not find wxWidgets 3.1.\n"
28 +                message(FATAL_ERROR "\nCould not find wxWidgets 3.2.\n"
29                      "Hint: On Linux you can set -DSLIC3R_WX_STABLE=1 to use wxWidgets 3.0\n")
30              endif ()
31          endif ()