Advertisement
KukuRuzo

psimedia cmake fix

Mar 30th, 2024
646
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.01 KB | None | 0 0
  1. diff --git a/CMakeLists.txt b/CMakeLists.txt
  2. index bc18428..c15c139 100644
  3. --- a/CMakeLists.txt
  4. +++ b/CMakeLists.txt
  5. @@ -125,8 +125,8 @@ endif()
  6.  if(BUILD_DEMO)
  7.      add_subdirectory(demo)
  8.      add_subdirectory(gstplugin)
  9. -    add_subdirectory(gstprovider)
  10.  endif()
  11.  if(BUILD_PSIPLUGIN)
  12.      add_subdirectory(psiplugin)
  13.  endif()
  14. +add_subdirectory(gstprovider)
  15. diff --git a/psiplugin/CMakeLists.txt b/psiplugin/CMakeLists.txt
  16. index 5ea0f8b..59cfde3 100644
  17. --- a/psiplugin/CMakeLists.txt
  18. +++ b/psiplugin/CMakeLists.txt
  19. @@ -19,7 +19,7 @@ get_filename_component(ABS_PLUGINS_ROOT_DIR "${CMAKE_CURRENT_LIST_DIR}/.." ABSOL
  20.  set(PLUGINS_ROOT_DIR "${ABS_PLUGINS_ROOT_DIR}" CACHE STRING "Plugins root path. Path where include directory placed")
  21.  
  22.  if(NOT BUILD_DEMO)
  23. -    include(${ABS_PLUGINS_ROOT_DIR}/gstprovider/CMakeLists.txt)
  24. +    #include(${ABS_PLUGINS_ROOT_DIR}/gstprovider/CMakeLists.txt)
  25.      include_directories(
  26.          ${ABS_PLUGINS_ROOT_DIR}/gstprovider
  27.          ${ABS_PLUGINS_ROOT_DIR}/gstprovider/devices
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement