We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
CMakeLists.txt
1 parent 4a3a6fc commit 827c6abCopy full SHA for 827c6ab
libcxx/CMakeLists.txt
@@ -74,7 +74,8 @@ set(LIBCXX_ASSERTION_SEMANTIC "" CACHE STRING
74
mode in effect. Note that users can override this setting in their own code.
75
This does not affect the ABI. Supported values are
76
${LIBCXX_SUPPORTED_ASSERTION_SEMANTICS}.")
77
-if ("${LIBCXX_ASSERTION_SEMANTIC}" AND NOT "${LIBCXX_ASSERTION_SEMANTIC}" IN_LIST LIBCXX_SUPPORTED_ASSERTION_SEMANTICS)
+
78
+if (NOT "${LIBCXX_ASSERTION_SEMANTIC}" STREQUAL "" AND NOT "${LIBCXX_ASSERTION_SEMANTIC}" IN_LIST LIBCXX_SUPPORTED_ASSERTION_SEMANTICS)
79
message(FATAL_ERROR
80
"Unsupported assertion semantic: '${LIBCXX_ASSERTION_SEMANTIC}'. Supported values are ${LIBCXX_SUPPORTED_ASSERTION_SEMANTICS}.")
81
endif()
0 commit comments