Skip to content

Commit

Permalink
compile as .lib, not as .dll, in windows. still works in gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
bachittle committed Jan 9, 2024
1 parent 484ddca commit 010e6d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ set(ENCODEC_LIB encodec)

add_subdirectory(ggml)

add_library(${ENCODEC_LIB} encodec.cpp encodec.h)
add_library(${ENCODEC_LIB} STATIC encodec.cpp encodec.h)

if (ENCODEC_BUILD_EXAMPLES)
add_subdirectory(examples)
Expand Down
2 changes: 1 addition & 1 deletion ggml
Submodule ggml updated 1 files
+2 −2 src/ggml.c

0 comments on commit 010e6d1

Please sign in to comment.