Commit 2fd0b3a2 authored by Clement Guedez's avatar Clement Guedez

indentation

parent 7517831f
...@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment