[llvm] r235121 - Better fix to the windows conditional.
Chris Bieneman
beanz at apple.com
Thu Apr 16 10:26:50 PDT 2015
Author: cbieneman
Date: Thu Apr 16 12:26:50 2015
New Revision: 235121
URL: http://llvm.org/viewvc/llvm-project?rev=235121&view=rev
Log:
Better fix to the windows conditional.
Modified:
llvm/trunk/cmake/modules/AddLLVM.cmake
Modified: llvm/trunk/cmake/modules/AddLLVM.cmake
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/cmake/modules/AddLLVM.cmake?rev=235121&r1=235120&r2=235121&view=diff
==============================================================================
--- llvm/trunk/cmake/modules/AddLLVM.cmake (original)
+++ llvm/trunk/cmake/modules/AddLLVM.cmake Thu Apr 16 12:26:50 2015
@@ -423,7 +423,7 @@ macro(add_llvm_library name)
set_target_properties( ${name} PROPERTIES EXCLUDE_FROM_ALL ON)
else()
if (NOT LLVM_INSTALL_TOOLCHAIN_ONLY OR ${name} STREQUAL "LTO")
- if("${CMAKE_SYSTEM_NAME}" STREQUAL "Windows")
+ if(WIN32 OR CYGWIN)
install(TARGETS ${name}
EXPORT LLVMExports
RUNTIME DESTINATION lib${LLVM_LIBDIR_SUFFIX}
More information about the llvm-commits
mailing list