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 92f20d9 commit b4c6f46Copy full SHA for b4c6f46
CMakeLists.txt
@@ -461,8 +461,10 @@ target_include_directories(ggml PUBLIC . ${LLAMA_EXTRA_INCLUDES})
461
target_compile_features(ggml PUBLIC c_std_11) # don't bump
462
target_link_libraries(ggml PUBLIC Threads::Threads ${LLAMA_EXTRA_LIBS})
463
464
+add_library(ggml_static STATIC $<TARGET_OBJECTS:ggml>)
465
if (BUILD_SHARED_LIBS)
466
set_target_properties(ggml PROPERTIES POSITION_INDEPENDENT_CODE ON)
467
+ add_library(ggml_shared SHARED $<TARGET_OBJECTS:ggml>)
468
endif()
469
470
add_library(llama
0 commit comments