From: Jeff Bolz Date: Wed, 18 Sep 2024 12:26:44 +0000 (-0500) Subject: build: fix msvc build (#960) X-Git-Tag: upstream/0.0.1642~387 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=ea40f60c22ce4f5066fbb21e8c825d828e84c529;p=pkg%2Fggml%2Fsources%2Fggml build: fix msvc build (#960) --- diff --git a/examples/mnist/CMakeLists.txt b/examples/mnist/CMakeLists.txt index 2d6a57f0..ef17a727 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) #