We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ff31f1 commit d7f87a3Copy full SHA for d7f87a3
CMakeLists.txt
@@ -25,10 +25,8 @@ nanobind_add_module(
25
)
26
target_include_directories(_core PRIVATE include)
27
28
-# Add -fno-aligned-allocation flag for macOS Intel architecture
29
-# If this is omitted, builds on MacOS intel will fail
30
if(APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64")
31
- target_compile_options(_core PRIVATE -fno-aligned-allocation)
+ target_compile_options(_core PRIVATE -mmacosx-version-min=10.13)
32
endif()
33
34
nanobind_add_stub(
0 commit comments