From 30a22fd933f32de9336fd619ac237914606e6539 Mon Sep 17 00:00:00 2001 From: Green Sky Date: Tue, 28 May 2024 10:12:26 +0200 Subject: [PATCH] correct plugin target type --- plugins/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 5704849..48afd2a 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -2,13 +2,12 @@ cmake_minimum_required(VERSION 3.9...3.24 FATAL_ERROR) ######################################## -add_library(plugin_tox_upnp SHARED +add_library(plugin_tox_upnp MODULE ./plugin_tox_upnp.cpp ) target_compile_features(plugin_tox_upnp PUBLIC cxx_std_17) set_target_properties(plugin_tox_upnp PROPERTIES C_VISIBILITY_PRESET hidden - POSITION_INDEPENDENT_CODE ON ) target_link_libraries(plugin_tox_upnp PUBLIC solanaceae_tox_upnp