CMake: use proper LIBRARY_DIRS when linking notcurses.so #86

This commit is contained in:
nick black 2019-12-01 12:42:18 -05:00 committed by Nick Black
parent fd79c86880
commit fb37f8351f

View File

@ -36,6 +36,11 @@ target_link_libraries(notcurses
"${SWSCALE_LIBRARIES}"
"${LIBRT}"
)
target_link_directories(notcurses
PRIVATE
"${AVFORMAT_LIBRARY_DIRS}"
"${SWSCALE_LIBRARY_DIRS}"
)
set_target_properties(notcurses PROPERTIES
PUBLIC_HEADER "include/notcurses.h"
VERSION ${PROJECT_VERSION}