summaryrefslogtreecommitdiffstats
path: root/Tests/Server
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@sap.com>2018-03-05 15:27:26 (GMT)
committerMarc Chevrier <marc.chevrier@sap.com>2018-03-20 08:29:55 (GMT)
commit50b5e9ed1316f82976a45c5fb2b00d0d3a3e4438 (patch)
treec09daa8de0a151b6e79c44608365de413b7bad25 /Tests/Server
parent352baee2074d12637c65e3113f560bbf98d0640a (diff)
downloadCMake-50b5e9ed1316f82976a45c5fb2b00d0d3a3e4438.zip
CMake-50b5e9ed1316f82976a45c5fb2b00d0d3a3e4438.tar.gz
CMake-50b5e9ed1316f82976a45c5fb2b00d0d3a3e4438.tar.bz2
CMake build: Use new FindPython module
Diffstat (limited to 'Tests/Server')
-rw-r--r--Tests/Server/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/Server/CMakeLists.txt b/Tests/Server/CMakeLists.txt
index 41d1131..8321edb 100644
--- a/Tests/Server/CMakeLists.txt
+++ b/Tests/Server/CMakeLists.txt
@@ -1,10 +1,10 @@
cmake_minimum_required(VERSION 3.4)
project(Server CXX)
-find_package(PythonInterp REQUIRED)
+find_package(Python REQUIRED)
macro(do_test bsname file type)
- execute_process(COMMAND ${PYTHON_EXECUTABLE}
+ execute_process(COMMAND ${Python_EXECUTABLE}
-B # no .pyc files
"${CMAKE_SOURCE_DIR}/${type}-test.py"
"${CMAKE_COMMAND}"