llvm/CMakeLists.txt: Fix LLVM_LIT_TOOLS_DIR since r143728. Cygwin does not need optio...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 11 Dec 2011 03:07:53 +0000 (03:07 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 11 Dec 2011 03:07:53 +0000 (03:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146339 91177308-0d34-0410-b5e6-96231b3b80d8

CMakeLists.txt

index 6dd8169ebcb966befb589fed494651e52b7bcf9e..585db8941042fccd86310357314f7171e03438ed 100644 (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()