[cmake] Do not print useless messages when an optional lib is not found
This commit is contained in:
@@ -29,14 +29,10 @@ include_directories(${ICONV_INCLUDE_DIRS})
|
|||||||
|
|
||||||
if(LIBIDN_FOUND)
|
if(LIBIDN_FOUND)
|
||||||
include_directories(${LIBIDN_INCLUDE_DIRS})
|
include_directories(${LIBIDN_INCLUDE_DIRS})
|
||||||
else()
|
|
||||||
message("Building without stringprep support.")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(SYSTEMDDAEMON_FOUND)
|
if(SYSTEMDDAEMON_FOUND)
|
||||||
include_directories(${SYSTEMDDAEMON_INCLUDE_DIRS})
|
include_directories(${SYSTEMDDAEMON_INCLUDE_DIRS})
|
||||||
else()
|
|
||||||
message("Building without systemd daemon support.")
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(POLLER_DOCSTRING "Choose the poller between POLL and EPOLL (Linux-only)")
|
set(POLLER_DOCSTRING "Choose the poller between POLL and EPOLL (Linux-only)")
|
||||||
|
|||||||
Reference in New Issue
Block a user