server-mode: Enable from bootstrapped CMake build

CMake is frequently built from source via bootstrap.
There is no reason we cannot support server mode.
This commit is contained in:
Brad King 2016-09-29 13:12:49 -04:00
parent 5d29506811
commit 97b6e17c33
1 changed files with 1 additions and 1 deletions

View File

@ -696,7 +696,7 @@ CMAKE_SETUP_TESTING()
# Check whether to build server mode or not: # Check whether to build server mode or not:
set(CMake_HAVE_SERVER_MODE 0) set(CMake_HAVE_SERVER_MODE 0)
if(NOT CMake_TEST_EXTERNAL_CMAKE AND NOT CMAKE_BOOTSTRAP AND CMAKE_USE_LIBUV) if(NOT CMake_TEST_EXTERNAL_CMAKE AND CMAKE_USE_LIBUV)
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_auto_type CMake_HAVE_CXX_AUTO_TYPE) list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_auto_type CMake_HAVE_CXX_AUTO_TYPE)
list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_range_for CMake_HAVE_CXX_RANGE_FOR) list(FIND CMAKE_CXX_COMPILE_FEATURES cxx_range_for CMake_HAVE_CXX_RANGE_FOR)
if(CMake_HAVE_CXX_AUTO_TYPE AND CMake_HAVE_CXX_RANGE_FOR) if(CMake_HAVE_CXX_AUTO_TYPE AND CMake_HAVE_CXX_RANGE_FOR)