mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-10 19:06:33 +00:00
fix: resolve naming conflict while llama.cpp and sd.cpp both build (#351)
This commit is contained in:
1 parent
dc0882cdc9
commit
6c88ad3fd6
1 file changed
+4
-1
+4
-1
@@ -102,7 +102,10 @@ set(CMAKE_POLICY_DEFAULT_CMP0077 NEW)
|
||||
add_definitions(-DGGML_MAX_NAME=128)
|
||||
|
||||
# deps
|
||||
add_subdirectory(ggml)
|
||||
# Only add ggml if it hasn't been added yet
|
||||
if (NOT TARGET ggml)
|
||||
add_subdirectory(ggml)
|
||||
endif()
|
||||
|
||||
add_subdirectory(thirdparty)
|
||||
|
||||
|
||||
Reference in new issue
Block a user