We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3ac8b4b commit 1c39a18Copy full SHA for 1c39a18
cmake/oidn_platform.cmake
@@ -175,9 +175,10 @@ if(APPLE)
175
# Link against libc++ which supports C++11 features
176
append(OIDN_CXX_FLAGS "-stdlib=libc++")
177
178
- # FIXME: force old linker to avoid corrupted binary when using ISPC with new linker in Xcode 15
+ # Force old linker to avoid corrupted binary when using ISPC with new linker in Xcode 15
179
if(CMAKE_CXX_COMPILER_ID STREQUAL "AppleClang" AND
180
- CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15)
+ CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 15 AND
181
+ CMAKE_CXX_COMPILER_VERSION VERSION_LESS 16)
182
add_link_options("-Wl,-ld_classic")
183
endif()
184
0 commit comments