From d7797496a36b46fc8a1c6a96c8a2ccbe53929567 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Thu, 28 Apr 2011 08:18:22 +0000 Subject: Revert an unintended commit. Very sorry for this one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@130393 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'tools') diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt index 64323ac629..c9072a7908 100644 --- a/tools/CMakeLists.txt +++ b/tools/CMakeLists.txt @@ -51,6 +51,13 @@ if( NOT WIN32 ) add_subdirectory(lto) endif() +if( LLVM_ENABLE_PIC ) + # TODO: support other systems: + if( CMAKE_SYSTEM_NAME STREQUAL "Linux" ) + add_subdirectory(gold) + endif() +endif() + if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt ) add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/clang ) endif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt ) -- cgit v1.2.3