summarylogtreecommitdiffstats
path: root/010-nvidia-vpf-git-fix-install.patch
diff options
context:
space:
mode:
authorDaniel Bermond2021-07-04 04:14:08 +0000
committerDaniel Bermond2021-07-04 04:14:08 +0000
commit6382430e9d8653ea56b5eb0f3e2f8045c9389dc3 (patch)
treef6bb7c600a728edd779392865df64794bad7ce4b /010-nvidia-vpf-git-fix-install.patch
parentb7bb17c04fdbfb63050a704c64d104a3ce0db454 (diff)
downloadaur-nvidia-vpf-git.tar.gz
Update patch
Diffstat (limited to '010-nvidia-vpf-git-fix-install.patch')
-rw-r--r--010-nvidia-vpf-git-fix-install.patch11
1 files changed, 7 insertions, 4 deletions
diff --git a/010-nvidia-vpf-git-fix-install.patch b/010-nvidia-vpf-git-fix-install.patch
index cd593f48ae9..38ffdad60f0 100644
--- a/010-nvidia-vpf-git-fix-install.patch
+++ b/010-nvidia-vpf-git-fix-install.patch
@@ -1,13 +1,13 @@
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
-@@ -44,16 +44,12 @@ include_directories(${TC_INC_PATH})
+@@ -45,19 +45,12 @@ include_directories(${TC_INC_PATH})
include_directories(${VIDEO_CODEC_SDK_INCLUDE_DIR})
#Bring all the stuff together
-install(FILES $<TARGET_FILE:TC_CORE> DESTINATION bin)
-install(FILES $<TARGET_FILE:TC> DESTINATION bin)
-+install(FILES $<TARGET_FILE:TC_CORE> DESTINATION ${CMAKE_INSTALL_LIBDIR})
-+install(FILES $<TARGET_FILE:TC> DESTINATION ${CMAKE_INSTALL_LIBDIR})
++install(FILES $<TARGET_FILE:TC_CORE> DESTINATION ${CMAKE_INSTALL_LIBDIR})
++install(FILES $<TARGET_FILE:TC> DESTINATION ${CMAKE_INSTALL_LIBDIR})
if(GENERATE_PYTHON_BINDINGS)
- install(FILES $<TARGET_FILE:PyNvCodec> DESTINATION bin)
@@ -16,8 +16,11 @@
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/SampleDecodeSw.py DESTINATION bin)
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/SampleDecodeMultiThread.py DESTINATION bin)
- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/SampleEncodeMultiThread.py DESTINATION bin)
+- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/SampleDemuxDecode.py DESTINATION bin)
+- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/SamplePyTorch.py DESTINATION bin)
+- install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/Tests.py DESTINATION bin)
+ find_package(Python COMPONENTS Interpreter Development)
-+ install(FILES $<TARGET_FILE:PyNvCodec> DESTINATION ${Python_SITEARCH}/PyNvCodec)
++ install(FILES $<TARGET_FILE:PyNvCodec> DESTINATION ${Python_SITEARCH}/PyNvCodec)
endif(GENERATE_PYTHON_BINDINGS)
if(GENERATE_PYTORCH_EXTENSION)