llvm/CMakeLists.txt: Fix LLVM_LIT_TOOLS_DIR since r143728. Cygwin does not need optional tools dir. MSVC and mingw may need one.

llvm-svn: 146339
This commit is contained in:
NAKAMURA Takumi 2011-12-11 03:07:53 +00:00
parent a6c59b8fc8
commit ba330aedce
1 changed files with 2 additions and 2 deletions

View File

@ -164,8 +164,8 @@ if (MSVC OR XCODE)
endif()
set(LLVM_LIT_ARGS "${LIT_ARGS_DEFAULT}" CACHE STRING "Default options for lit")
# On Win32/Cygwin, provide an option to specify the path to the GnuWin32 tools.
if( WIN32 AND CYGWIN )
# On Win32 hosts, provide an option to specify the path to the GnuWin32 tools.
if( WIN32 AND NOT CYGWIN )
set(LLVM_LIT_TOOLS_DIR "" CACHE PATH "Path to GnuWin32 tools")
endif()