diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2025-01-11 01:36:48 -0800 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2025-01-11 01:36:48 -0800 |
commit | 8377f46f68dc4487205ab18cb6a85cd9d5243030 (patch) | |
tree | 5cf54e260421a3adca53909fa130e6108388eea7 /math/curv/files/patch-CMakeLists.txt | |
parent | misc/py-pytorch: Broken on armv7 (diff) |
math/curv: Revert "math/curv: Fails to build with boost-1.85+ and GitHub repository is marked archived"
This reverts commit 84e07469e6efa150aca110c60072c98bcf52f00f.
Reported by: Thierry Thomas <thierry@freebsd.org>
Diffstat (limited to 'math/curv/files/patch-CMakeLists.txt')
-rw-r--r-- | math/curv/files/patch-CMakeLists.txt | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/math/curv/files/patch-CMakeLists.txt b/math/curv/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..926827f3a431 --- /dev/null +++ b/math/curv/files/patch-CMakeLists.txt @@ -0,0 +1,75 @@ +--- CMakeLists.txt.orig 2021-09-29 21:29:01 UTC ++++ CMakeLists.txt +@@ -10,23 +10,23 @@ execute_process(COMMAND sh -c "${CMAKE_SOURCE_DIR}/cma + + list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake") + +-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g") ++#set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g") + + # Configure global include directories, visible in subdirectories. + include_directories(. +- extern/double-conversion ++ #extern/double-conversion + extern/ordered-map/include + extern/blosc + extern/stb +- extern/glfw/include +- extern/glm ++ #extern/glfw/include ++ #extern/glm + extern/glad) + if (MSYS) + # On MSYS we use MinGW packages for OpenVDB and GoogleTest + else () + include_directories( + extern/googletest/googletest/include +- extern/openvdb/openvdb) ++ ) + endif () + + if (APPLE) +@@ -45,6 +45,7 @@ endif (APPLE) + # Libraries + # =============================================== + ++# REPLxx used to be unbundled, but due to the incompatibilities (see Bug#241205) it was bundled again + # REPLxx library + file(GLOB ReplxxSrc "extern/replxx/src/*.cxx" "extern/replxx/src/*.cpp") + add_library(replxx ${ReplxxSrc}) +@@ -55,9 +56,9 @@ set_property(TARGET replxx PROPERTY CXX_STANDARD 17) + target_compile_definitions(replxx PRIVATE REPLXX_STATIC=1) + + # double-conversion library +-file(GLOB DoubleConversionSrc "extern/double-conversion/double-conversion/*.cc") +-add_library(double-conversion ${DoubleConversionSrc}) +-set_property(TARGET double-conversion PROPERTY CXX_STANDARD 17) ++#file(GLOB DoubleConversionSrc "extern/double-conversion/double-conversion/*.cc") ++#add_library(double-conversion ${DoubleConversionSrc}) ++#set_property(TARGET double-conversion PROPERTY CXX_STANDARD 17) + + # glad library, an OpenGL loader + add_library(glad +@@ -100,7 +101,7 @@ if (MSYS) + set( LibOpenVDB "openvdb" ) + set( LibHalf "Half" ) + else () +- set( LibOpenVDB "openvdb_static" ) ++ #set( LibOpenVDB "openvdb_static" ) + set( LibHalf "" ) + endif () + +@@ -194,9 +195,9 @@ if (NOT DEFINED MSYS) + add_library(dummy cmake/dummy.cc) + add_library(Blosc::blosc ALIAS dummy) + add_library(TBB::tbb ALIAS dummy) +- add_subdirectory(extern/openvdb/openvdb/openvdb EXCLUDE_FROM_ALL) +- set_property(TARGET openvdb_static PROPERTY CXX_STANDARD 14) +- add_subdirectory(extern/googletest/googletest EXCLUDE_FROM_ALL) ++ #add_subdirectory(extern/openvdb/openvdb/openvdb EXCLUDE_FROM_ALL) ++ #set_property(TARGET openvdb_static PROPERTY CXX_STANDARD 14) ++ #add_subdirectory(extern/googletest/googletest EXCLUDE_FROM_ALL) + endif () + +-add_subdirectory(extern/glfw EXCLUDE_FROM_ALL) ++#add_subdirectory(extern/glfw EXCLUDE_FROM_ALL) |