diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-25 20:07:43 (GMT) |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-08-26 05:46:58 (GMT) |
commit | 7f29bbe6f25211165fc188d3a823ecf3bc831f8d (patch) | |
tree | b05f0d1aecdd5fa19f9437081509a1a49d6eec76 /Tests/CMakeLists.txt | |
parent | 4614a3b287456fad12bcb91ad2936214da3237bf (diff) | |
download | CMake-7f29bbe6f25211165fc188d3a823ecf3bc831f8d.zip CMake-7f29bbe6f25211165fc188d3a823ecf3bc831f8d.tar.gz CMake-7f29bbe6f25211165fc188d3a823ecf3bc831f8d.tar.bz2 |
server: always enable server
Diffstat (limited to 'Tests/CMakeLists.txt')
-rw-r--r-- | Tests/CMakeLists.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/Tests/CMakeLists.txt b/Tests/CMakeLists.txt index 13d796e..f0e58ee 100644 --- a/Tests/CMakeLists.txt +++ b/Tests/CMakeLists.txt @@ -2818,13 +2818,11 @@ ${CMake_BINARY_DIR}/bin/cmake -DDIR=dev -P ${CMake_SOURCE_DIR}/Utilities/Release ADD_TEST_MACRO(CMakeCommands.target_compile_definitions target_compile_definitions) ADD_TEST_MACRO(CMakeCommands.target_compile_options target_compile_options) - if(CMake_TEST_SERVER_MODE) - # The cmake server-mode test requires python for a simple client. - find_package(PythonInterp QUIET) - if(PYTHON_EXECUTABLE) - set(Server_BUILD_OPTIONS -DPYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE}) - ADD_TEST_MACRO(Server Server) - endif() + # The cmake server-mode test requires python for a simple client. + find_package(PythonInterp QUIET) + if(PYTHON_EXECUTABLE) + set(Server_BUILD_OPTIONS -DPYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE}) + ADD_TEST_MACRO(Server Server) endif() configure_file( |