Compare commits
2 Commits
b000f5eca7
...
accc095403
Author | SHA1 | Date | |
---|---|---|---|
accc095403 | |||
b15ec36e38 |
@ -79,6 +79,14 @@ include_directories (${Unistring_INCLUDE_DIRS}
|
|||||||
${Ncursesw_INCLUDE_DIRS} ${Termo_INCLUDE_DIRS})
|
${Ncursesw_INCLUDE_DIRS} ${Termo_INCLUDE_DIRS})
|
||||||
|
|
||||||
# Configuration
|
# Configuration
|
||||||
|
if ("${CMAKE_SYSTEM_NAME}" MATCHES "BSD")
|
||||||
|
# Need this for SIGWINCH in FreeBSD and OpenBSD respectively;
|
||||||
|
# our POSIX version macros make it undefined
|
||||||
|
add_definitions (-D__BSD_VISIBLE=1 -D_BSD_SOURCE=1)
|
||||||
|
elseif (APPLE)
|
||||||
|
add_definitions (-D_DARWIN_C_SOURCE)
|
||||||
|
endif ()
|
||||||
|
|
||||||
include (CheckFunctionExists)
|
include (CheckFunctionExists)
|
||||||
set (CMAKE_REQUIRED_LIBRARIES ${Ncursesw_LIBRARIES})
|
set (CMAKE_REQUIRED_LIBRARIES ${Ncursesw_LIBRARIES})
|
||||||
CHECK_FUNCTION_EXISTS ("resizeterm" HAVE_RESIZETERM)
|
CHECK_FUNCTION_EXISTS ("resizeterm" HAVE_RESIZETERM)
|
||||||
|
2
liberty
2
liberty
@ -1 +1 @@
|
|||||||
Subproject commit d01a1ff0348174f91bb2d3ba53145cc2c9f50a7f
|
Subproject commit 717c30120790e5b1d8b11231996f70f30a1dada8
|
Loading…
x
Reference in New Issue
Block a user