[CMake] Simplifying logic for USES_TERMINAL on bootstrap targets.

In CMake variables that haven't been set are evaluated to empty strings, so we don't need to set the variables to empty strings.

llvm-svn: 245604
This commit is contained in:
Chris Bieneman 2015-08-20 20:12:20 +00:00
parent eb0e518923
commit 6511eb5194
1 changed files with 1 additions and 4 deletions

View File

@ -563,10 +563,7 @@ if (CLANG_ENABLE_BOOTSTRAP)
set(cmake_3_1_EXCLUDE_FROM_ALL EXCLUDE_FROM_ALL 1)
endif()
if(CMAKE_VERSION VERSION_LESS 3.3.20150708)
set(cmake_3_4_USES_TERMINAL_OPTIONS)
set(cmake_3_4_USES_TERMINAL)
else()
if(CMAKE_VERSION VERSION_GREATER 3.3.20150708)
set(cmake_3_4_USES_TERMINAL_OPTIONS
USES_TERMINAL_CONFIGURE 1
USES_TERMINAL_BUILD 1