Use Doug's new LLVM_NATIVE_ARCH macro in config.h to link in the native
[oota-llvm.git] / tools / CMakeLists.txt
index 113d98743c47c221e5bb4760e87f23a30f4b1f8a..5c1ee351a2a03de5d11b01ef27b9779779e5e182 100644 (file)
@@ -2,9 +2,9 @@
 # large and three small executables. This is done to minimize memory load
 # in parallel builds.  Please retain this ordering.
 
-if( NOT MSVC )
 add_subdirectory(llvm-config)
-endif( NOT MSVC )
+if (NOT USE_EXPLICIT_DEPENDENCIES)
+ add_subdirectory(llvm-config)
+endif()
 
 add_subdirectory(opt)
 add_subdirectory(llvm-as)