fix: add missing macro definitions
This commit is contained in:
parent
916248af1f
commit
6a437ba5d6
1 changed files with 1 additions and 0 deletions
|
@ -1175,4 +1175,5 @@ endif()
|
||||||
|
|
||||||
if (BUILD_SHARED_LIBS)
|
if (BUILD_SHARED_LIBS)
|
||||||
set_target_properties(ggml PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
set_target_properties(ggml PROPERTIES POSITION_INDEPENDENT_CODE ON)
|
||||||
|
target_compile_definitions(ggml PRIVATE GGML_SHARED GGML_BUILD)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue