qimgv/qimgv-nosharedlib.patch

19 lines
643 B
Diff

Index: qimgv-0.8.3/qimgv_libs/qimgv_player_mpv/CMakeLists.txt
===================================================================
--- qimgv-0.8.3.orig/qimgv_libs/qimgv_player_mpv/CMakeLists.txt
+++ qimgv-0.8.3/qimgv_libs/qimgv_player_mpv/CMakeLists.txt
@@ -19,7 +19,7 @@ if(WIN32)
endif()
endif()
-add_library(qimgv_player_mpv SHARED
+add_library(qimgv_player_mpv STATIC
src/videoplayer.cpp
src/mpvwidget.cpp
src/videoplayermpv.cpp)
@@ -34,4 +34,3 @@ target_include_directories(qimgv_player_
add_definitions(-DQIMGV_PLAYER_MPV_LIBRARY)
-install(TARGETS qimgv_player_mpv LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})