mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 09:09:03 -04:00
FreeBSD build fixen #304
This commit is contained in:
parent
4af5c79b2a
commit
20e4c106a2
@ -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…
x
Reference in New Issue
Block a user