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
2fd0b3a2
Commit
2fd0b3a2
authored
May 03, 2019
by
Clement Guedez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
indentation
parent
7517831f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
14 deletions
+16
-14
CMakeLists.txt
IO/src/rtmp/CMakeLists.txt
+16
-14
No files found.
IO/src/rtmp/CMakeLists.txt
View file @
2fd0b3a2
...
@@ -106,21 +106,21 @@ endif(RTMP_QUICKSYNC)
...
@@ -106,21 +106,21 @@ endif(RTMP_QUICKSYNC)
if
(
RTMP_NVENC
)
if
(
RTMP_NVENC
)
if
(
LINUX
)
if
(
LINUX
)
include
(
FetchContent
)
include
(
FetchContent
)
FetchContent_Declare
(
FetchContent_Declare
(
nvenc_api
nvenc_api
GIT_REPOSITORY https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
GIT_REPOSITORY https://git.videolan.org/git/ffmpeg/nv-codec-headers.git
GIT_TAG n8.2.15.8
GIT_TAG n8.2.15.8
)
)
FetchContent_GetProperties
(
nvenc_api
)
FetchContent_GetProperties
(
nvenc_api
)
if
(
NOT nvenc_api_POPULATED
)
if
(
NOT nvenc_api_POPULATED
)
FetchContent_Populate
(
nvenc_api
)
FetchContent_Populate
(
nvenc_api
)
include_directories
(
${
nvenc_api_SOURCE_DIR
}
/include/ffnvcodec/
)
include_directories
(
${
nvenc_api_SOURCE_DIR
}
/include/ffnvcodec/
)
endif
()
endif
()
endif
()
endif
()
set
(
SOURCE_FILES
set
(
SOURCE_FILES
${
SOURCE_FILES
}
${
SOURCE_FILES
}
...
@@ -134,6 +134,8 @@ endif()
...
@@ -134,6 +134,8 @@ endif()
include/nvenc.hpp
include/nvenc.hpp
)
)
find_package
(
CUDA REQUIRED
)
find_package
(
CUDA REQUIRED
)
elseif
(
RTMP_NVENC_M
)
elseif
(
RTMP_NVENC_M
)
set
(
SOURCE_FILES
set
(
SOURCE_FILES
${
SOURCE_FILES
}
${
SOURCE_FILES
}
...
...
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