CMake: Use SEND_ERROR to report more errors at once
This commit is contained in:
parent
5ccfc06ff7
commit
db81bf02a7
@ -65,7 +65,7 @@ endif()
|
|||||||
if(USE_libbsd)
|
if(USE_libbsd)
|
||||||
find_library(LIB_BSD NAMES bsd)
|
find_library(LIB_BSD NAMES bsd)
|
||||||
if(NOT LIB_BSD)
|
if(NOT LIB_BSD)
|
||||||
message(FATAL_ERROR "USE_libbsd option is enabled, but libbsd was not found")
|
message(SEND_ERROR "USE_libbsd option is enabled, but libbsd was not found")
|
||||||
else()
|
else()
|
||||||
set(HAVE_LIBBSD TRUE)
|
set(HAVE_LIBBSD TRUE)
|
||||||
endif()
|
endif()
|
||||||
|
Loading…
Reference in New Issue
Block a user