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)
|
||||
find_library(LIB_BSD NAMES 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()
|
||||
set(HAVE_LIBBSD TRUE)
|
||||
endif()
|
||||
|
Loading…
Reference in New Issue
Block a user