[cmake] Do not print useless messages when an optional lib is not found

This commit is contained in:
Florent Le Coz
2014-05-11 03:36:42 +02:00
parent 579ca4bdb6
commit 23db31cff1
-4
View File
@@ -29,14 +29,10 @@ include_directories(${ICONV_INCLUDE_DIRS})
if(LIBIDN_FOUND)
include_directories(${LIBIDN_INCLUDE_DIRS})
else()
message("Building without stringprep support.")
endif()
if(SYSTEMDDAEMON_FOUND)
include_directories(${SYSTEMDDAEMON_INCLUDE_DIRS})
else()
message("Building without systemd daemon support.")
endif()
set(POLLER_DOCSTRING "Choose the poller between POLL and EPOLL (Linux-only)")