mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-06 13:34:05 -06:00
Build: Add an option to choose GTK version on Linux, fix #1937
This commit is contained in:
parent
aca2ffcdfb
commit
ba66f34c45
2 changed files with 3 additions and 0 deletions
|
@ -60,6 +60,7 @@ if (SLIC3R_GUI)
|
|||
endif()
|
||||
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
||||
set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")
|
||||
if (SLIC3R_WX_STABLE)
|
||||
find_package(wxWidgets 3.0 REQUIRED COMPONENTS base core adv html gl)
|
||||
else ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue