Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/cad/OrcaSlicer/files/patch-src_CMakeLists.txt
46591 views
1
--- src/CMakeLists.txt.orig 2026-03-22 17:56:38 UTC
2
+++ src/CMakeLists.txt
3
@@ -28,7 +28,7 @@ if (SLIC3R_GUI)
4
endif()
5
endif()
6
7
- if (CMAKE_SYSTEM_NAME STREQUAL "Linux")
8
+ if (CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")
9
set (wxWidgets_CONFIG_OPTIONS "--toolkit=gtk${SLIC3R_GTK}")
10
if (SLIC3R_WX_STABLE)
11
find_package(wxWidgets 3.0 REQUIRED COMPONENTS base core adv html gl aui net media webview)
12
13