Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
freebsd
GitHub Repository: freebsd/freebsd-ports
Path: blob/main/cad/OrcaSlicer/files/patch-CMakeLists.txt
46591 views
1
--- CMakeLists.txt.orig 2026-03-22 17:56:38 UTC
2
+++ CMakeLists.txt
3
@@ -375,7 +375,7 @@ endif ()
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
find_package(PkgConfig REQUIRED)
10
11
if (CMAKE_VERSION VERSION_LESS "3.1")
12
@@ -583,7 +583,7 @@ set(Boost_NO_SYSTEM_PATHS TRUE)
13
cmake_policy(SET CMP0167 NEW)
14
endif()
15
set(Boost_NO_SYSTEM_PATHS TRUE)
16
-find_package(Boost 1.83.0 REQUIRED COMPONENTS system filesystem thread log log_setup locale regex chrono atomic date_time iostreams program_options nowide)
17
+find_package(Boost 1.83.0 REQUIRED COMPONENTS filesystem thread log log_setup locale regex chrono atomic date_time iostreams program_options nowide)
18
19
add_library(boost_libs INTERFACE)
20
add_library(boost_headeronly INTERFACE)
21
22