summarylogtreecommitdiffstats
path: root/010-nvidia-vpf-git-fix-install.patch
diff options
context:
space:
mode:
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)