diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dd8169ebcb..585db894104 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()