Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franco (nextime) Lanza
stitchEm
Commits
0f0f8cbb
Unverified
Commit
0f0f8cbb
authored
5 years ago
by
Clément Guedez
Committed by
GitHub
5 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #11 from stitchEm/linux_pkg_sys
Linux pkg sys
parents
8b3ba479
2fd0b3a2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
CMakeLists.txt
IO/src/rtmp/CMakeLists.txt
+19
-0
CUDA.cmake
cmake/CUDA.cmake
+1
-1
No files found.
IO/src/rtmp/CMakeLists.txt
View file @
0f0f8cbb
...
...
@@ -105,6 +105,23 @@ endif(RTMP_QUICKSYNC)
if
(
RTMP_NVENC
)
if
(
LINUX
)
include
(
FetchContent
)
FetchContent_Declare
(
nvenc_api
GIT_REPOSITORY https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
GIT_TAG n8.2.15.8
)
FetchContent_GetProperties
(
nvenc_api
)
if
(
NOT nvenc_api_POPULATED
)
FetchContent_Populate
(
nvenc_api
)
include_directories
(
${
nvenc_api_SOURCE_DIR
}
/include/ffnvcodec/
)
endif
()
endif
()
set
(
SOURCE_FILES
${
SOURCE_FILES
}
src/cuvid.cpp
...
...
@@ -117,6 +134,8 @@ if(RTMP_NVENC)
include/nvenc.hpp
)
find_package
(
CUDA REQUIRED
)
elseif
(
RTMP_NVENC_M
)
set
(
SOURCE_FILES
${
SOURCE_FILES
}
...
...
This diff is collapsed.
Click to expand it.
cmake/CUDA.cmake
View file @
0f0f8cbb
...
...
@@ -38,7 +38,7 @@ if (LINUX)
else
(
TEGRA_DEMO
)
find_package
(
GLEW
)
find_library
(
CUDA cuda PATHS
"
${
LINUX_CUDA_PATH
}
/stubs"
)
find_library
(
CUDART cudart PATHS
${
LINUX_CUDA_PATH
}
NO_DEFAULT_PATH
)
find_library
(
CUDART cudart PATHS
${
LINUX_CUDA_PATH
}
)
find_library
(
NVML nvidia-ml PATHS
"
${
LINUX_CUDA_PATH
}
/stubs"
)
endif
(
TEGRA_DEMO
)
include_directories
(
${
CMAKE_EXTERNAL_DEPS
}
/include
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment