mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-09 17:19: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}")
|
if(NOT "${DISABLE_FFMPEG}")
|
||||||
target_include_directories(notcurses
|
target_include_directories(notcurses
|
||||||
PRIVATE
|
PUBLIC
|
||||||
"${AVFORMAT_INCLUDE_DIRS}"
|
"${AVFORMAT_INCLUDE_DIRS}"
|
||||||
|
"${AVUTIL_INCLUDE_DIRS}"
|
||||||
"${SWSCALE_INCLUDE_DIRS}"
|
"${SWSCALE_INCLUDE_DIRS}"
|
||||||
)
|
)
|
||||||
target_link_libraries(notcurses
|
target_link_libraries(notcurses
|
||||||
@ -225,6 +226,10 @@ target_include_directories(notcurses-demo
|
|||||||
PRIVATE
|
PRIVATE
|
||||||
include
|
include
|
||||||
"${PROJECT_BINARY_DIR}/include"
|
"${PROJECT_BINARY_DIR}/include"
|
||||||
|
PUBLIC
|
||||||
|
"${AVFORMAT_INCLUDE_DIRS}"
|
||||||
|
"${AVUTIL_INCLUDE_DIRS}"
|
||||||
|
"${SWSCALE_INCLUDE_DIRS}"
|
||||||
)
|
)
|
||||||
target_link_libraries(notcurses-demo
|
target_link_libraries(notcurses-demo
|
||||||
PRIVATE
|
PRIVATE
|
||||||
|
@ -16,6 +16,10 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef CLOCK_MONOTONIC_RAW
|
||||||
|
#define CLOCK_MONOTONIC_RAW CLOCK_MONOTONIC
|
||||||
|
#endif
|
||||||
|
|
||||||
// configured via command line option -- the base number of ns between demos
|
// configured via command line option -- the base number of ns between demos
|
||||||
extern struct timespec demodelay;
|
extern struct timespec demodelay;
|
||||||
extern float delaymultiplier; // scales demodelay (applied internally)
|
extern float delaymultiplier; // scales demodelay (applied internally)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user