You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Prepending the flag with -Werror will only add the flag,
123
110
# if it doesn't result in generation of a warning of using a flag unknown to the compiler.
@@ -944,7 +931,7 @@ set(BOOST_MIN_VER 1.62)
944
931
find_package(Boost${BOOST_MIN_VER}QUIETREQUIRED)
945
932
946
933
if(NOT Boost_FOUND)
947
-
die("Could not find Boost libraries, please make sure you have installed Boost or libboost-all-dev (>=${BOOST_MIN_VER}) or the equivalent")
934
+
message(FATAL_ERROR"Could not find Boost libraries, please make sure you have installed Boost or libboost-all-dev (>=${BOOST_MIN_VER}) or the equivalent")
Copy file name to clipboardExpand all lines: external/CMakeLists.txt
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -31,13 +31,13 @@
31
31
find_package(Unbound)
32
32
33
33
if(NOT UNBOUND_INCLUDE_DIR)
34
-
die("Could not find libunbound")
34
+
message(FATAL_ERROR"Could not find libunbound")
35
35
else()
36
36
message(STATUS"Found libunbound include (unbound.h) in ${UNBOUND_INCLUDE_DIR}")
37
37
if(UNBOUND_LIBRARIES)
38
38
message(STATUS"Found libunbound library")
39
39
else()
40
-
die("Found libunbound includes, but could not find libunbound library. Please make sure you have installed libunbound or libunbound-dev or the equivalent")
40
+
message(FATAL_ERROR"Found libunbound includes, but could not find libunbound library. Please make sure you have installed libunbound or libunbound-dev or the equivalent")
0 commit comments