LTO is not ready for Windows.
authorOscar Fuentes <ofv@wanadoo.es>
Sun, 13 Mar 2011 03:06:59 +0000 (03:06 +0000)
committerOscar Fuentes <ofv@wanadoo.es>
Sun, 13 Mar 2011 03:06:59 +0000 (03:06 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127562 91177308-0d34-0410-b5e6-96231b3b80d8

tools/CMakeLists.txt

index 4d9e32db8e89d8c9dcae397c12f7e7cc3bf8e588..2aceeb3272e03dcbe02291dfea7e80dbe1860c63 100644 (file)
@@ -46,7 +46,10 @@ add_subdirectory(llvm-stub)
 add_subdirectory(edis)
 add_subdirectory(llvmc)
 
-add_subdirectory(lto)
+if( NOT WIN32 )
+  add_subdirectory(lto)
+endif()
+
 if( LLVM_ENABLE_PIC )
   # TODO: support other systems:
   if( CMAKE_SYSTEM_NAME STREQUAL "Linux" )