biome: 1.9.2 -> 1.9.3 (#349335)
[NixPkgs.git] / pkgs / development / python-modules / dm-tree / 0003-don-t-configure-apple.patch
blobac51e3bd50d15836e2ceaeeabe867db5df05131f
1 diff --git a/tree/CMakeLists.txt b/tree/CMakeLists.txt
2 index 4fd1b1a..2d1d9d3 100644
3 --- a/tree/CMakeLists.txt
4 +++ b/tree/CMakeLists.txt
5 @@ -40,16 +40,6 @@ if (NOT (WIN32 OR MSVC))
6 endif()
7 endif()
9 -if(APPLE)
10 - # On MacOS:
11 - # -undefined dynamic_lookup is necessary for pybind11 linking
12 - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-everything -w -undefined dynamic_lookup")
14 - # On MacOS, we need this so that CMake will use the right Python if the user
15 - # has a virtual environment active
16 - set (CMAKE_FIND_FRAMEWORK LAST)
17 -endif()
19 # Fetch pybind to be able to use pybind11_add_module symbol.
20 set(PYBIND_VER v2.10.1)
21 include(FetchContent)