projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e93b64
)
Better fix to the windows conditional.
author
Chris Bieneman
<beanz@apple.com>
Thu, 16 Apr 2015 17:26:50 +0000
(17:26 +0000)
committer
Chris Bieneman
<beanz@apple.com>
Thu, 16 Apr 2015 17:26:50 +0000
(17:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@235121
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/AddLLVM.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/AddLLVM.cmake
b/cmake/modules/AddLLVM.cmake
index 050939022b3dea7134747fc2c77e2bebd978735b..2f4a7784ade301807561166f6d18b5a78ca10b78 100644
(file)
--- a/
cmake/modules/AddLLVM.cmake
+++ b/
cmake/modules/AddLLVM.cmake
@@
-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}