Skip to content

Commit 70da2f8

Browse files
authored
Merge pull request #69 from JohanMabille/arm_support
Do not require long double lib on OSX arm64
2 parents f60db31 + 83bb76b commit 70da2f8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ else()
6565
set(REQUIRE_DOUBLE_LIB "")
6666
endif()
6767

68-
if(FFTW_USE_LONG_DOUBLE AND NOT MSVC)
68+
if(FFTW_USE_LONG_DOUBLE AND NOT MSVC AND NOT (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "arm64"))
6969
add_definitions(-DXTENSOR_FFTW_USE_LONG_DOUBLE)
7070
set(REQUIRE_LONG_DOUBLE_LIB "LONGDOUBLE_LIB")
7171
else()

0 commit comments

Comments
 (0)