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:
parent
5d29506811
commit
97b6e17c33
|
@ -696,7 +696,7 @@ CMAKE_SETUP_TESTING()
|
|||
|
||||
# Check whether to build server mode or not:
|
||||
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_range_for CMake_HAVE_CXX_RANGE_FOR)
|
||||
if(CMake_HAVE_CXX_AUTO_TYPE AND CMake_HAVE_CXX_RANGE_FOR)
|
||||
|
|
Loading…
Reference in New Issue