Path: blob/main/cad/OrcaSlicer/files/patch-CMakeLists.txt
46591 views
--- CMakeLists.txt.orig 2026-03-22 17:56:38 UTC1+++ CMakeLists.txt2@@ -375,7 +375,7 @@ endif ()3endif ()4endif ()56-if (CMAKE_SYSTEM_NAME STREQUAL "Linux")7+if (CMAKE_SYSTEM_NAME STREQUAL "Linux" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD")8find_package(PkgConfig REQUIRED)910if (CMAKE_VERSION VERSION_LESS "3.1")11@@ -583,7 +583,7 @@ set(Boost_NO_SYSTEM_PATHS TRUE)12cmake_policy(SET CMP0167 NEW)13endif()14set(Boost_NO_SYSTEM_PATHS TRUE)15-find_package(Boost 1.83.0 REQUIRED COMPONENTS system filesystem thread log log_setup locale regex chrono atomic date_time iostreams program_options nowide)16+find_package(Boost 1.83.0 REQUIRED COMPONENTS filesystem thread log log_setup locale regex chrono atomic date_time iostreams program_options nowide)1718add_library(boost_libs INTERFACE)19add_library(boost_headeronly INTERFACE)202122