From 375ec153fe90191a33e0ecd8810ab11c2bd5eeb5 Mon Sep 17 00:00:00 2001 From: Kevin Matz Date: Mon, 28 Nov 2022 14:19:18 -0500 Subject: [PATCH] build as shared libraries --- platform/qt/CMakeLists.txt | 2 +- protocol/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/qt/CMakeLists.txt b/platform/qt/CMakeLists.txt index dbb7971..c8b5646 100644 --- a/platform/qt/CMakeLists.txt +++ b/platform/qt/CMakeLists.txt @@ -6,7 +6,7 @@ find_package(Qt6 COMPONENTS Network REQUIRED) set(CMAKE_AUTOMOC ON) -add_library(${PROJECT_NAME} STATIC) +add_library(${PROJECT_NAME} SHARED) target_sources(${PROJECT_NAME} PUBLIC diff --git a/protocol/CMakeLists.txt b/protocol/CMakeLists.txt index 9e99e69..8644596 100644 --- a/protocol/CMakeLists.txt +++ b/protocol/CMakeLists.txt @@ -16,7 +16,7 @@ endif() add_compile_definitions(BUILT_WITH_CMAKE) configure_file(config.h.in config.h) -add_library(${PROJECT_NAME} STATIC) +add_library(${PROJECT_NAME} SHARED) # E1.11 include(dmx/CMakeLists.txt) # E1.17