summaryrefslogtreecommitdiffstats
path: root/llvm/CMakeLists.txt
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-04-14 21:58:19 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-04-14 21:58:19 +0000
commit692d198ede45799f4c0fab539e5ae7d6d0381ae0 (patch)
treefff772e5e5ddd0a9f0239994cc8d2cffd4fbfbd6 /llvm/CMakeLists.txt
parentfed3dc8dc6ba19a7c6febb3eeaf9e5ebe271a6d8 (diff)
downloadbcm5719-llvm-692d198ede45799f4c0fab539e5ae7d6d0381ae0.tar.gz
bcm5719-llvm-692d198ede45799f4c0fab539e5ae7d6d0381ae0.zip
[CMake] Reformat, if(MSVC)...else()...endif()
llvm-svn: 206215
Diffstat (limited to 'llvm/CMakeLists.txt')
-rw-r--r--llvm/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 624f755fd54..d8628935453 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -199,7 +199,7 @@ option(LLVM_ENABLE_PIC "Build Position-Independent Code" ON)
# MSVC has a gazillion warnings with this.
if( MSVC )
option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." OFF)
-else( MSVC )
+else()
option(LLVM_ENABLE_WARNINGS "Enable compiler warnings." ON)
endif()
OpenPOWER on IntegriCloud