[llvm] r368892 - Match if / elseif properly
JF Bastien via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 11:01:11 PDT 2019
Author: jfb
Date: Wed Aug 14 11:01:11 2019
New Revision: 368892
URL: http://llvm.org/viewvc/llvm-project?rev=368892&view=rev
Log:
Match if / elseif properly
My last commit fumbled it.
Modified:
llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
Modified: llvm/trunk/cmake/modules/HandleLLVMOptions.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/HandleLLVMOptions.cmake?rev=368892&r1=368891&r2=368892&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/HandleLLVMOptions.cmake (original)
+++ llvm/trunk/cmake/modules/HandleLLVMOptions.cmake Wed Aug 14 11:01:11 2019
@@ -20,7 +20,7 @@ endif()
set(LLVM_CXX_STD_default "c++14")
# Preserve behaviour of legacy cache variables
-elseif (LLVM_ENABLE_CXX1Z)
+if (LLVM_ENABLE_CXX1Z)
set(LLVM_CXX_STD_default "c++1z")
endif()
set(LLVM_CXX_STD ${LLVM_CXX_STD_default}
More information about the llvm-commits
mailing list