From ea40f60c22ce4f5066fbb21e8c825d828e84c529 Mon Sep 17 00:00:00 2001 From: Jeff Bolz Date: Wed, 18 Sep 2024 07:26:44 -0500 Subject: [PATCH] build: fix msvc build (#960) --- examples/mnist/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) #