From ff1bc01e3ea2aeb714784dd83d57d5a018843f2a Mon Sep 17 00:00:00 2001 From: Guido Draheim Date: Mon, 13 Apr 2020 14:57:30 +0200 Subject: [PATCH] force python3 (on centos cmake) --- docs/CMakeLists.txt | 2 +- test/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/CMakeLists.txt b/docs/CMakeLists.txt index 57d9000..4ceab8d 100644 --- a/docs/CMakeLists.txt +++ b/docs/CMakeLists.txt @@ -13,7 +13,7 @@ option(MSVC_STATIC_RUNTIME "Build with static runtime libs (/MT)" ON) # Zlib library needed find_package ( ZLIB REQUIRED ) # pkg_search_module ( ZZIP zzip ) -find_package(PythonInterp REQUIRED) +find_package(PythonInterp 3.5 REQUIRED) find_package(UnixCommands REQUIRED) # bash cp mv rm gzip tar find_program(XMLTO xmlto) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 16c24c6..890d8ad 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -17,7 +17,7 @@ option(MSVC_STATIC_RUNTIME "Build with static runtime libs (/MT)" ON) # Zlib library needed find_package ( ZLIB REQUIRED ) # pkg_search_module ( ZZIP zzip ) -find_package ( PythonInterp REQUIRED ) +find_package ( PythonInterp 3.5 REQUIRED ) find_package ( UnixCommands REQUIRED ) # bash cp mv rm gzip tar find_program ( MKZIP zip) -- 2.40.0