Use absolute path to exportsfile in gold plugin CMake build.
[oota-llvm.git] / tools / CMakeLists.txt
index 4269ae842be8e279eff98e003c11c324d6c8c9b5..28b36dcdfd1aba53d232b8dad151f1effe77c2be 100644 (file)
@@ -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)