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 f57918d commit 0199e8cCopy full SHA for 0199e8c
ggml/src/CMakeLists.txt
@@ -325,6 +325,10 @@ if (CMAKE_SYSTEM_NAME MATCHES "Android")
325
target_link_libraries(ggml-base PRIVATE dl)
326
endif()
327
328
+if(CMAKE_SYSTEM_NAME MATCHES "visionOS")
329
+ target_compile_definitions(ggml-base PUBLIC _DARWIN_C_SOURCE)
330
+endif()
331
+
332
if (BUILD_SHARED_LIBS)
333
foreach (target ggml-base ggml)
334
set_target_properties(${target} PROPERTIES POSITION_INDEPENDENT_CODE ON)
0 commit comments