From 98f6ddc3c5f16e52f6d0bfd56258abc545093807 Mon Sep 17 00:00:00 2001 From: Oscar Fuentes Date: Sun, 13 Mar 2011 03:06:59 +0000 Subject: LTO is not ready for Windows. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127562 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'tools/CMakeLists.txt') diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 4d9e32db8e..2aceeb3272 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -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" ) -- cgit v1.2.3