mirror of
https://github.com/ggerganov/whisper.cpp.git
synced 2025-01-30 08:03:54 +00:00
cmake : add GGML_BUILD and GGML_SHARED macro definitions (llama/8281)
This commit is contained in:
parent
c5b05321e9
commit
00422ec3cf
@ -1175,4 +1175,5 @@ endif()
|
||||
|
||||
if (BUILD_SHARED_LIBS)
|
||||
set_target_properties(ggml PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||
target_compile_definitions(ggml PRIVATE GGML_SHARED GGML_BUILD)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user