[PATCH] D122814: Functionality Added to CMAKE
Priyansh Singh via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 31 13:18:07 PDT 2022
ps-19 updated this revision to Diff 419555.
ps-19 added a comment.
Formatted again using Clang-Format.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D122814/new/
https://reviews.llvm.org/D122814
Files:
llvm/CMakeLists.txt
Index: llvm/CMakeLists.txt
===================================================================
--- llvm/CMakeLists.txt
+++ llvm/CMakeLists.txt
@@ -291,7 +291,7 @@
string(TOUPPER "${CMAKE_BUILD_TYPE}" uppercase_CMAKE_BUILD_TYPE)
if (CMAKE_BUILD_TYPE AND
- NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$")
+ NOT uppercase_CMAKE_BUILD_TYPE MATCHES "^(NONE|DEBUG|RELEASE|RELWITHDEBINFO|MINSIZEREL)$")
message(FATAL_ERROR "Invalid value for CMAKE_BUILD_TYPE: ${CMAKE_BUILD_TYPE}")
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122814.419555.patch
Type: text/x-patch
Size: 537 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220331/4da8bdcd/attachment.bin>
More information about the llvm-commits
mailing list