opencv-3.4.1-fix-build-with-va.patch 1.4 KB

123456789101112131415161718192021222324252627
  1. From 20f5fa8e3e880bc8b2e5156e9f25f7fb756ed8e4 Mon Sep 17 00:00:00 2001
  2. From: =?UTF-8?q?S=C3=A9rgio=20M=2E=20Basto?= <sergio@serjux.com>
  3. Date: Wed, 28 Feb 2018 19:21:31 +0000
  4. Subject: [PATCH] Fix build with VA
  5. This commit readd ${VA_LIBRARIES} ${VA_INTEL_LIBRARIES}
  6. that was missed in commit 2200e13c7193e0fe9db4b9f7c4bee3a7ef043909
  7. diff --git a/samples/va_intel/CMakeLists.txt b/samples/va_intel/CMakeLists.txt
  8. - ocv_target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} ${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS} ${VA_LIBRARIES} ${VA_INTEL_LIBRARIES})
  9. + ocv_target_link_libraries(${tgt} ${OPENCV_LINKER_LIBS} ${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS})
  10. ---
  11. samples/va_intel/CMakeLists.txt | 2 +-
  12. 1 file changed, 1 insertion(+), 1 deletion(-)
  13. diff --git a/samples/va_intel/CMakeLists.txt b/samples/va_intel/CMakeLists.txt
  14. index af51dd32061..04f2ea5fd40 100644
  15. --- a/samples/va_intel/CMakeLists.txt
  16. +++ b/samples/va_intel/CMakeLists.txt
  17. @@ -17,5 +17,5 @@ ocv_include_modules_recurse(${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS})
  18. file(GLOB all_samples RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} *.cpp)
  19. foreach(sample_filename ${all_samples})
  20. ocv_define_sample(tgt ${sample_filename} va_intel)
  21. - ocv_target_link_libraries(${tgt} ${OPENCV_LINKER_LIBS} ${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS})
  22. + ocv_target_link_libraries(${tgt} ${OPENCV_LINKER_LIBS} ${OPENCV_VA_INTEL_SAMPLES_REQUIRED_DEPS} ${VA_LIBRARIES} ${VA_INTEL_LIBRARIES})
  23. endforeach()