clip : link to ggml, not to llama

This commit is contained in:
Georgi Gerganov 2023-10-22 16:52:12 +03:00
parent 4b4ab722ab
commit 715f384a6b
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -1,7 +1,7 @@
set(TARGET clip)
add_library(${TARGET} clip.cpp clip.h)
install(TARGETS ${TARGET} LIBRARY)
target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
target_link_libraries(${TARGET} PRIVATE common ggml ${CMAKE_THREAD_LIBS_INIT})
target_compile_features(${TARGET} PRIVATE cxx_std_11)
if (NOT MSVC)
target_compile_options(${TARGET} PRIVATE -Wno-cast-qual) # stb_image.h