summarylogtreecommitdiffstats
path: root/fix_nvenc_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'fix_nvenc_check.patch')
-rw-r--r--fix_nvenc_check.patch27
1 files changed, 0 insertions, 27 deletions
diff --git a/fix_nvenc_check.patch b/fix_nvenc_check.patch
deleted file mode 100644
index ffd8bae6b0b..00000000000
--- a/fix_nvenc_check.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-diff --git a/cmake/admCheckNvEnc.cmake b/cmake/admCheckNvEnc.cmake
-index 43e2472..f1c292d 100644
---- a/cmake/admCheckNvEnc.cmake
-+++ b/cmake/admCheckNvEnc.cmake
-@@ -7,11 +7,12 @@ MACRO(checkNvEnc)
-
- IF (NVENC)
- FIND_PATH(NVENC_INCLUDE_DIR nvEncodeAPI.h
-- PATHS /usr/include/x86_64-linux-gnu) # Needed for 64 bits linux
-+ PATHS /usr/include/nvidia-video-sdk) # Needed for 64 bits linux
- IF(NVENC_INCLUDE_DIR)
- MESSAGE(STATUS " nvenc header Found ")
- SET(USE_NVENC True)
- SET(NVENC_FOUND 1)
-+ SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -I/usr/include/nvidia-video-sdk")
- ELSE(NVENC_INCLUDE_DIR)
- MESSAGE(STATUS " nvenc header not Found ")
- SET(NVENC_FOUND 0)
-@@ -20,7 +21,7 @@ MACRO(checkNvEnc)
- ENDIF (NVENC)
-
- MESSAGE("")
-- APPEND_SUMMARY_LIST("Video Encoder" "NVENC" "${NVENC_FOUND}")
-+ APPEND_SUMMARY_LIST("Video Encoder" "NVENC" "${NVENC_CHECKED}")
- ENDIF (NOT NVENC_CHECKED)
-
- ENDMACRO(checkNvEnc)