From fdc06ab02ecc1ab3ec1bc3eb027afe13dceeb671 Mon Sep 17 00:00:00 2001 From: minqiyang Date: Wed, 11 Jul 2018 16:32:49 +0800 Subject: [PATCH] Change python.cmake's version to 3.5 --- cmake/external/python.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/external/python.cmake b/cmake/external/python.cmake index d7e5571bd..e68dc6efc 100644 --- a/cmake/external/python.cmake +++ b/cmake/external/python.cmake @@ -18,8 +18,8 @@ ENDIF() INCLUDE(python_module) -FIND_PACKAGE(PythonInterp 2.7) -FIND_PACKAGE(PythonLibs 2.7) +FIND_PACKAGE(PythonInterp 3.5) +FIND_PACKAGE(PythonLibs 3.5) # Fixme: Maybe find a static library. Get SHARED/STATIC by FIND_PACKAGE. ADD_LIBRARY(python SHARED IMPORTED GLOBAL) SET_PROPERTY(TARGET python PROPERTY IMPORTED_LOCATION ${PYTHON_LIBRARIES}) -- GitLab