fix: resolve naming conflict while llama.cpp and sd.cpp both build (#351)

This commit is contained in:
Yu Xing 2024-08-27 09:14:41 -07:00 committed by GitHub
parent dc0882cdc9
commit 6c88ad3fd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -102,7 +102,10 @@ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
add_definitions(-DGGML_MAX_NAME=128)
# deps
# Only add ggml if it hasn't been added yet
if (NOT TARGET ggml)
add_subdirectory(ggml)
endif()
add_subdirectory(thirdparty)