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 0bfbe44 commit 27a08feCopy full SHA for 27a08fe
examples/models/llama/CMakeLists.txt
@@ -219,4 +219,6 @@ endif()
219
target_include_directories(llama_main PUBLIC ${_common_include_directories})
220
target_link_libraries(llama_main PUBLIC llama_runner ${link_libraries})
221
target_compile_options(llama_main PUBLIC ${_common_compile_options})
222
-set_target_properties(llama_main PROPERTIES LINK_FLAGS "-Wl,-rpath='$ORIGIN'")
+if(NOT APPLE)
223
+ set_target_properties(llama_main PROPERTIES LINK_FLAGS "-Wl,-rpath='$ORIGIN'")
224
+endif()
0 commit comments