You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-video/obs-v4l2sink/files/obs-v4l2sink-0.1.0_p2018101...

23 lines
676 B

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 75d85f0..15e6bc1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,5 +1,6 @@
cmake_minimum_required(VERSION 3.5)
project(obs-v4l2sink)
+include(GNUInstallDirs)
include(external/FindLibObs.cmake)
@@ -44,8 +45,8 @@ endif()
set_target_properties(v4l2sink PROPERTIES PREFIX "")
install(TARGETS v4l2sink
- LIBRARY DESTINATION ${CMAKE_INSTALL_PREFIX}/lib/obs-plugins)
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}/obs-plugins)
install(DIRECTORY locale/
- DESTINATION "${CMAKE_INSTALL_PREFIX}/share/obs/obs-plugins/v4l2sink/locale")
+ DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/obs/obs-plugins/v4l2sink/locale")