Files
ports/cad/libbgcode/files/patch-deps_CMakeLists.txt
2026-10-04 04:07:15 +00:00

24 lines
987 B
Plaintext

--- deps/CMakeLists.txt.orig 2024-01-22 12:56:01 UTC
+++ deps/CMakeLists.txt
@@ -41,16 +41,16 @@ include(${PROJECT_SOURCE_DIR}/../cmake/modules/AddCMak
include(${PROJECT_SOURCE_DIR}/../cmake/modules/AddCMakeProject.cmake)
-set(supported_packages Boost heatshrink Catch2 ZLIB pybind11)
+set(supported_packages heatshrink)
include(CMakeDependentOption)
option(${PROJECT_NAME}_SELECT_ALL "Choose all external projects to be selected (create build target for them)." ON)
option(${PROJECT_NAME}_BUILD_ALL "Choose all external projects to be built." OFF)
-find_package(Git REQUIRED)
-
+#find_package(Git REQUIRED)
+#
# The default command line for patching. Only works for newer
-set(PATCH_CMD ${GIT_EXECUTABLE} apply --verbose --ignore-space-change --whitespace=fix)
+#set(PATCH_CMD ${GIT_EXECUTABLE} apply --verbose --ignore-space-change --whitespace=fix)
foreach (pkg ${supported_packages})
option(${PROJECT_NAME}_BUILD_${pkg} "Select package ${pkg} to be built." OFF)