We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b225f3a + cdb8615 commit 8e271ddCopy full SHA for 8e271dd
tools/introspection/CMakeLists.txt
@@ -42,7 +42,11 @@ endif()
42
# cmake doesn't find ncurses under QNX; let the compiler complain if the header is missing
43
if(NOT QNX)
44
SET(CURSES_USE_NCURSES TRUE)
45
- find_package(Curses REQUIRED)
+ find_package(Curses QUIET)
46
+ if(NOT CURSES_FOUND)
47
+ message(STATUS "The build of the introspection client is skipped due to missing the curses library")
48
+ return()
49
+ endif()
50
if(${CURSES_HAVE_NCURSES_H} MATCHES ".*-NOTFOUND")
51
message(SEND_ERROR "ncurses header not found! Please install libncurses5-dev!")
52
endif(${CURSES_HAVE_NCURSES_H} MATCHES ".*-NOTFOUND")
0 commit comments