Loadable modules are not supported on Cygwin. PR 6655.
authorOscar Fuentes <ofv@wanadoo.es>
Fri, 22 Oct 2010 19:03:24 +0000 (19:03 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Fri, 22 Oct 2010 19:03:24 +0000 (19:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@117130 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/AddLLVM.cmake

index b7ebe192fc20e5e065bd7edf134125e308f80568..f45febbfc3bbafdaf6b6a23780f4dc8ef3052a80 100755 (executable)
@@ -29,7 +29,7 @@ endmacro(add_llvm_library name)
 
 
 macro(add_llvm_loadable_module name)
-  if( NOT LLVM_ON_UNIX )
+  if( NOT LLVM_ON_UNIX OR CYGWIN )
     message(STATUS "Loadable modules not supported on this platform.
 ${name} ignored.")
   else()