From 5fa1b171e625e5aa4b1cac086cb98ee15a1b4f19 Mon Sep 17 00:00:00 2001 From: Ilya Kulakov Date: Wed, 24 Jan 2024 00:00:56 -0800 Subject: [PATCH] CMake: gammaray_kitemmodels must respect GAMMARAY_LIBRARY_TYPE Otherwise static probe and plugins will end up depending on a shared library. --- 3rdparty/kde/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/3rdparty/kde/CMakeLists.txt b/3rdparty/kde/CMakeLists.txt index bddd37b934..e5bc89559f 100644 --- a/3rdparty/kde/CMakeLists.txt +++ b/3rdparty/kde/CMakeLists.txt @@ -5,7 +5,7 @@ set(gammaray_kitemmodels_srcs kitemmodels_debug.cpp ) -add_library(gammaray_kitemmodels SHARED ${gammaray_kitemmodels_srcs}) +add_library(gammaray_kitemmodels ${GAMMARAY_LIBRARY_TYPE} ${gammaray_kitemmodels_srcs}) target_link_libraries(gammaray_kitemmodels PUBLIC Qt::Core)