summaryrefslogtreecommitdiff
path: root/dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-05-04 12:02:00 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-05-04 12:02:00 +0100
commiteab5731cdf11d4ae8cdf111461d46fd96c5bdd37 (patch)
treece35c6d01b5ff5de95c3a20fef853b9a6518ad2e /dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch
parentb7ebc951da8800f711142f69d9d958bde67a112d (diff)
gentoo resync : 04.05.2019
Diffstat (limited to 'dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch')
-rw-r--r--dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch b/dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch
new file mode 100644
index 000000000000..fbfdfd32dffe
--- /dev/null
+++ b/dev-libs/intel-neo/files/intel-neo-19.16.12873_cmake_no_libva_automagic.patch
@@ -0,0 +1,14 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -374,9 +374,9 @@
+ endif()
+
+ # LibVA detection
+-if(UNIX)
++if(UNIX AND ENABLE_VAAPI_MEDIA_SHARING)
+ set(IGDRCL__LIBVA_IS_REQUIRED "")
+- if(IGDRCL_FORCE_USE_LIBVA)
++ if(IGDRCL_FORCE_USE_LIBVA OR ENABLE_VAAPI_MEDIA_SHARING)
+ set(IGDRCL__LIBVA_IS_REQUIRED "REQUIRED")
+ endif()
+