[PATCH] Fixing tag in HandleLLVMOptions.cmake
Javier Martinez
javier.e.martinez at intel.com
Tue Jun 17 16:07:08 PDT 2014
This change fixes the tag in an else() statement contained in HandleLLVMOptions.cmake. The tag is currently LLVM_COMPILER_IS_GCC_COMPATIBLE but it should be MSVC.
http://reviews.llvm.org/D4185
Files:
HandleLLVMOptions.cmake
Index: HandleLLVMOptions.cmake
===================================================================
--- HandleLLVMOptions.cmake
+++ HandleLLVMOptions.cmake
@@ -202,7 +202,7 @@
if (LLVM_ENABLE_WERROR)
add_llvm_definitions( /WX )
endif (LLVM_ENABLE_WERROR)
-elseif( LLVM_COMPILER_IS_GCC_COMPATIBLE )
+elseif( MSVC )
if (LLVM_ENABLE_WARNINGS)
append("-Wall -W -Wno-unused-parameter -Wwrite-strings" CMAKE_C_FLAGS CMAKE_CXX_FLAGS)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4185.10519.patch
Type: text/x-patch
Size: 447 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140617/4384a4c5/attachment.bin>
More information about the llvm-commits
mailing list