CMake: no need to link notcurses-view against libav

This commit is contained in:
nick black 2020-09-09 07:44:54 -04:00
parent f8bc3c2ea8
commit 1f59eef9d8
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -529,24 +529,10 @@ target_include_directories(notcurses-view
PRIVATE
include
"${PROJECT_BINARY_DIR}/include"
"${AVCODEC_INCLUDE_DIRS}"
"${AVFORMAT_INCLUDE_DIRS}"
"${AVUTIL_INCLUDE_DIRS}"
)
target_link_directories(notcurses-view
PRIVATE
"${AVCODEC_LIBRARY_DIRS}"
"${AVFORMAT_LIBRARY_DIRS}"
"${AVUTIL_LIBRARY_DIRS}"
)
target_link_libraries(notcurses-view
PRIVATE
notcurses++
PRIVATE
"${AVCODEC_LIBRARIES}"
"${AVFORMAT_LIBRARIES}"
"${AVUTIL_LIBRARIES}"
"${SWSCALE_LIBRARIES}"
)
endif()