]> granicus.if.org Git - zziplib/commitdiff
force python3 (on centos cmake)
authorGuido Draheim <guidod@gmx.de>
Mon, 13 Apr 2020 12:57:30 +0000 (14:57 +0200)
committerGuido Draheim <guidod@gmx.de>
Mon, 13 Apr 2020 12:57:30 +0000 (14:57 +0200)
docs/CMakeLists.txt
test/CMakeLists.txt

index 57d90009fece5b7766f89e8b035b279dea717fe9..4ceab8dfb5ff04cbca8ba66fa9c99ad178e71869 100644 (file)
@@ -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)
 
index 16c24c61a38323adf21286126c6aeca76c58ecb6..890d8ad744d94361ba617df8a7860cf58a4ac490 100644 (file)
@@ -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)