From a084b4d2c552e19a0f55f3de4b92a8e0b6428c7c Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Wed, 24 Apr 2024 20:16:30 -0400 Subject: [PATCH] Build novus-common as a shared library on Windows --- common/CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/common/CMakeLists.txt b/common/CMakeLists.txt index f12e558..df0a323 100644 --- a/common/CMakeLists.txt +++ b/common/CMakeLists.txt @@ -1,7 +1,11 @@ # SPDX-FileCopyrightText: 2023 Joshua Goins # SPDX-License-Identifier: CC0-1.0 -add_library(novus-common STATIC) +if (WIN32) + add_library(novus-common SHARED) +else() + add_library(novus-common STATIC) +endif() target_sources(novus-common PRIVATE include/aboutdata.h