summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJF Bastien <jfbastien@apple.com>2019-08-14 18:01:11 +0000
committerJF Bastien <jfbastien@apple.com>2019-08-14 18:01:11 +0000
commit3f9d0446864015c7856698fcacafa56aa8f4c9a3 (patch)
tree7a33d951f0341e37ef0089d7bc88629857a37da1
parentdf7022825c0e803efce34f11a3670b469c2901e0 (diff)
downloadbcm5719-llvm-3f9d0446864015c7856698fcacafa56aa8f4c9a3.tar.gz
bcm5719-llvm-3f9d0446864015c7856698fcacafa56aa8f4c9a3.zip
Match if / elseif properly
My last commit fumbled it. llvm-svn: 368892
-rw-r--r--llvm/cmake/modules/HandleLLVMOptions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/cmake/modules/HandleLLVMOptions.cmake b/llvm/cmake/modules/HandleLLVMOptions.cmake
index 57682788dc5..37ef64f22dc 100644
--- a/llvm/cmake/modules/HandleLLVMOptions.cmake
+++ b/llvm/cmake/modules/HandleLLVMOptions.cmake
@@ -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}
OpenPOWER on IntegriCloud