[CMake] Reformat, if(MSVC)...else()...endif()
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 14 Apr 2014 21:58:19 +0000 (21:58 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 14 Apr 2014 21:58:19 +0000 (21:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@206215 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 624f755fd54f354d9e1dc0f19413b187f87536d2..d8628935453a6385c428670eec854e2aeff702b4 100644 (file)
@@ -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()