mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
cmake: fix up avutil includes
This commit is contained in:
parent
d4fe929f63
commit
c690e2db27
@ -63,14 +63,14 @@ target_link_libraries(notcurses
|
||||
PRIVATE
|
||||
"${AVCODEC_LIBRARIES}"
|
||||
"${AVFORMAT_LIBRARIES}"
|
||||
"${AVUTIL_INCLUDE_DIRS}"
|
||||
"${AVUTIL_LIBRARIES}"
|
||||
"${SWSCALE_LIBRARIES}"
|
||||
)
|
||||
target_link_directories(notcurses
|
||||
PUBLIC
|
||||
"${AVCODEC_LIBRARY_DIRS}"
|
||||
"${AVFORMAT_LIBRARY_DIRS}"
|
||||
"${AVUTIL_INCLUDE_DIRS}"
|
||||
"${AVUTIL_LIBRARY_DIRS}"
|
||||
"${SWSCALE_LIBRARY_DIRS}"
|
||||
)
|
||||
endif()
|
||||
@ -362,18 +362,23 @@ 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 notcurses++
|
||||
PRIVATE
|
||||
"${AVUTIL_LIBRARIES}"
|
||||
"${AVCODEC_LIBRARIES}"
|
||||
"${AVFORMAT_LIBRARIES}"
|
||||
"${AVUTIL_LIBRARIES}"
|
||||
"${SWSCALE_LIBRARIES}"
|
||||
)
|
||||
target_compile_options(notcurses-view
|
||||
|
Loading…
x
Reference in New Issue
Block a user