summaryrefslogtreecommitdiff
path: root/tools/CMakeLists.txt
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2011-11-03 21:01:36 +0000
committerDaniel Dunbar <daniel@zuster.org>2011-11-03 21:01:36 +0000
commit4bdd099dfcaf640a47f23d869d6a2c69eb4c6556 (patch)
tree6713b2ba56f172b00ae2f9b7b82a9e0574fbb75e /tools/CMakeLists.txt
parent8d69414022333a5ba2700c4176e81d56c10d9458 (diff)
downloadllvm-4bdd099dfcaf640a47f23d869d6a2c69eb4c6556.tar.gz
llvm-4bdd099dfcaf640a47f23d869d6a2c69eb4c6556.tar.bz2
llvm-4bdd099dfcaf640a47f23d869d6a2c69eb4c6556.tar.xz
llvm-config-2: Implement build system support for getting the variables we only
know at build time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143649 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/CMakeLists.txt')
-rw-r--r--tools/CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/CMakeLists.txt b/tools/CMakeLists.txt
index 4269ae842b..28b36dcdfd 100644
--- a/tools/CMakeLists.txt
+++ b/tools/CMakeLists.txt
@@ -17,9 +17,12 @@ if( NOT WIN32 OR MSYS OR CYGWIN )
# must keep llvm-config as the first entry on the list of tools to
# be built.
add_subdirectory(llvm-config)
+
+ # We currently require 'sed' to build llvm-config-2, so don't try to build it
+ # on pure Win32.
+ add_subdirectory(llvm-config-2)
endif()
-add_subdirectory(llvm-config-2)
add_subdirectory(opt)
add_subdirectory(llvm-as)
add_subdirectory(llvm-dis)