FreeBSD build fixen #304

pull/312/head
nick black 4 years ago
parent 4af5c79b2a
commit 20e4c106a2
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -51,8 +51,9 @@ target_link_directories(notcurses
if(NOT "${DISABLE_FFMPEG}")
target_include_directories(notcurses
PRIVATE
PUBLIC
"${AVFORMAT_INCLUDE_DIRS}"
"${AVUTIL_INCLUDE_DIRS}"
"${SWSCALE_INCLUDE_DIRS}"
)
target_link_libraries(notcurses
@ -225,6 +226,10 @@ target_include_directories(notcurses-demo
PRIVATE
include
"${PROJECT_BINARY_DIR}/include"
PUBLIC
"${AVFORMAT_INCLUDE_DIRS}"
"${AVUTIL_INCLUDE_DIRS}"
"${SWSCALE_INCLUDE_DIRS}"
)
target_link_libraries(notcurses-demo
PRIVATE

@ -16,6 +16,10 @@
extern "C" {
#endif
#ifndef CLOCK_MONOTONIC_RAW
#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
#endif
// configured via command line option -- the base number of ns between demos
extern struct timespec demodelay;
extern float delaymultiplier; // scales demodelay (applied internally)

Loading…
Cancel
Save