aboutsummaryrefslogtreecommitdiff
path: root/generate_findpackage_file
diff options
context:
space:
mode:
Diffstat (limited to 'generate_findpackage_file')
-rwxr-xr-xgenerate_findpackage_file2
1 files changed, 1 insertions, 1 deletions
diff --git a/generate_findpackage_file b/generate_findpackage_file
index 6b804664..818b4f08 100755
--- a/generate_findpackage_file
+++ b/generate_findpackage_file
@@ -78,7 +78,7 @@ file.printf(" MESSAGE(STATUS \"Found #{package}: ${#{cmakeLibName}}\")\n")
file.printf(" ENDIF(NOT #{cmakeQuietName})\n")
file.printf("ELSE(#{cmakeFoundName})\n")
file.printf(" IF(#{cmakeRequiredName})\n")
-file.printf(" MESSAGE(SEND_ERROR \"Could not find #{package}\")\n")
+file.printf(" MESSAGE(FATAL_ERROR \"Could not find #{package}\")\n")
file.printf(" ENDIF(#{cmakeRequiredName})\n")
file.printf("ENDIF(#{cmakeFoundName})\n\n")