mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19:03 -04:00
CMake: use proper LIBRARY_DIRS when linking notcurses.so #86
This commit is contained in:
parent
fd79c86880
commit
fb37f8351f
@ -36,6 +36,11 @@ target_link_libraries(notcurses
|
|||||||
"${SWSCALE_LIBRARIES}"
|
"${SWSCALE_LIBRARIES}"
|
||||||
"${LIBRT}"
|
"${LIBRT}"
|
||||||
)
|
)
|
||||||
|
target_link_directories(notcurses
|
||||||
|
PRIVATE
|
||||||
|
"${AVFORMAT_LIBRARY_DIRS}"
|
||||||
|
"${SWSCALE_LIBRARY_DIRS}"
|
||||||
|
)
|
||||||
set_target_properties(notcurses PROPERTIES
|
set_target_properties(notcurses PROPERTIES
|
||||||
PUBLIC_HEADER "include/notcurses.h"
|
PUBLIC_HEADER "include/notcurses.h"
|
||||||
VERSION ${PROJECT_VERSION}
|
VERSION ${PROJECT_VERSION}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user