From 3ffb9c8844ff0dc0965c30aeff70ca9434205a5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Morales?= Date: Tue, 10 Oct 2023 13:02:30 -0600 Subject: [PATCH] enforce lib name for windows --- CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9eff2a5..91bb2ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,8 @@ set(CMAKE_CXX_FLAGS_DEBUG "-g") if(APPLE) set(CMAKE_SHARED_LIBRARY_SUFFIX ".so") +elseif(MSVC) + set_target_properties(coreforecast PROPERTIES OUTPUT_NAME "libcoreforecast") endif() if(UNIX)