Commit 44d0b4d7 authored by Clement Guedez's avatar Clement Guedez

only for linux, to check on other platform

parent 6d5c8457
...@@ -106,6 +106,7 @@ endif(RTMP_QUICKSYNC) ...@@ -106,6 +106,7 @@ endif(RTMP_QUICKSYNC)
if(RTMP_NVENC) if(RTMP_NVENC)
if(LINUX)
include(FetchContent) include(FetchContent)
FetchContent_Declare( FetchContent_Declare(
nvenc_api nvenc_api
...@@ -119,7 +120,7 @@ if(RTMP_NVENC) ...@@ -119,7 +120,7 @@ if(RTMP_NVENC)
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()
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