summaryrefslogtreecommitdiff
path: root/Modules/Platform/Darwin-XL-CXX.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/Platform/Darwin-XL-CXX.cmake')
-rw-r--r--Modules/Platform/Darwin-XL-CXX.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/Darwin-XL-CXX.cmake b/Modules/Platform/Darwin-XL-CXX.cmake
index 65c76f8b7..f8e1906a8 100644
--- a/Modules/Platform/Darwin-XL-CXX.cmake
+++ b/Modules/Platform/Darwin-XL-CXX.cmake
@@ -3,3 +3,6 @@ set(CMAKE_SHARED_MODULE_CREATE_CXX_FLAGS "-bundle")
# Enable shared library versioning.
set(CMAKE_SHARED_LIBRARY_SONAME_CXX_FLAG "-Wl,-install_name")
+
+# -qhalt=e = Halt on error messages (rather than just severe errors)
+string(APPEND CMAKE_C_FLAGS_INIT " -qhalt=e")