https://bugs.kde.org/show_bug.cgi?id=405805

--- Comment #3 from Christophe Giboudeaux <christo...@krop.fr> ---
> From your side, would switching to dynamic linking be sufficient?

For linux distributions, yes, for Windows you would get the opposite issue, I
guess.

something like that should address the problem:
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 4d196d18e..b68f31c2c 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -139,8 +139,12 @@ target_link_libraries(kdenliveLib
     ${MLTPP_LIBRARIES}
     ${CMAKE_DL_LIBS}
     ${CMAKE_THREAD_LIBS_INIT}
-    kiss_fft
-    RTTR::Core_Lib)
+    kiss_fft)
+if(TARGET RTTR::Core)
+    target_link_libraries(kdenliveLib RTTR::Core)
+else()
+    target_link_libraries(kdenliveLib RTTR::Core_Lib)
+endif()

 if(BUILD_COVERAGE)
   target_link_libraries(kdenliveLib gcov)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to