diff --git a/cmake/external/python.cmake b/cmake/external/python.cmake index 357ee901ceda20ada89b4bdb9d52445d175cf68f..cbb694022192804c0402157658eec8c32458e060 100644 --- a/cmake/external/python.cmake +++ b/cmake/external/python.cmake @@ -18,7 +18,7 @@ INCLUDE(python_module) FIND_PACKAGE(PythonInterp 2.7) FIND_PACKAGE(PythonLibs 2.7) -SET(py_env PATH=${PATH} PYTHONHOME=${PYTHONHOME} PYTHONPATH=${PYTHONPATH}) +SET(py_env "") IF(PYTHONLIBS_FOUND AND PYTHONINTERP_FOUND) find_python_module(pip REQUIRED)