File tree Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Expand file tree Collapse file tree 5 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1
1
set (TARGET embedding )
2
2
add_executable (${TARGET} embedding.cpp )
3
- target_link_libraries (${TARGET} PRIVATE common llama ggml ${CMAKE_THREAD_LIBS_INIT} )
3
+ target_link_libraries (${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT} )
4
4
target_compile_features (${TARGET} PRIVATE cxx_std_11 )
Original file line number Diff line number Diff line change 1
1
set (TARGET main )
2
2
add_executable (${TARGET} main.cpp )
3
- target_link_libraries (${TARGET} PRIVATE common llama ggml ${CMAKE_THREAD_LIBS_INIT} )
3
+ target_link_libraries (${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT} )
4
4
target_compile_features (${TARGET} PRIVATE cxx_std_11 )
Original file line number Diff line number Diff line change 1
1
set (TARGET perplexity )
2
2
add_executable (${TARGET} perplexity.cpp )
3
- target_link_libraries (${TARGET} PRIVATE common llama ggml ${CMAKE_THREAD_LIBS_INIT} )
3
+ target_link_libraries (${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT} )
4
4
target_compile_features (${TARGET} PRIVATE cxx_std_11 )
Original file line number Diff line number Diff line change 1
1
set (TARGET quantize )
2
2
add_executable (${TARGET} quantize.cpp )
3
- target_link_libraries (${TARGET} PRIVATE llama ggml ${CMAKE_THREAD_LIBS_INIT} )
3
+ target_link_libraries (${TARGET} PRIVATE llama ${CMAKE_THREAD_LIBS_INIT} )
4
4
target_compile_features (${TARGET} PRIVATE cxx_std_11 )
Original file line number Diff line number Diff line change 6
6
#include <stdbool.h>
7
7
8
8
#ifdef LLAMA_SHARED
9
- # ifdef _WIN32
9
+ # ifdef _WIN32 & & ! defined __MINGW32__
10
10
# ifdef LLAMA_BUILD
11
11
# define LLAMA_API __declspec(dllexport)
12
12
# else
You can’t perform that action at this time.
0 commit comments