From: Guido Draheim Date: Mon, 13 Apr 2020 12:57:30 +0000 (+0200) Subject: force python3 (on centos cmake) X-Git-Tag: v0.13.71~99 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff1bc01e3ea2aeb714784dd83d57d5a018843f2a;p=zziplib force python3 (on centos cmake) --- 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)