diff --git a/examples/mnist/CMakeLists.txt b/examples/mnist/CMakeLists.txt index 2d6a57f0d..ef17a7273 100644 --- a/examples/mnist/CMakeLists.txt +++ b/examples/mnist/CMakeLists.txt @@ -2,7 +2,7 @@ # mnist-common set(TEST_TARGET mnist-common) -add_library(${TEST_TARGET} mnist-common.cpp) +add_library(${TEST_TARGET} STATIC mnist-common.cpp) target_link_libraries(${TEST_TARGET} PRIVATE ggml common) #