"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Modules/FindPythonLibs.cmake" between
cmake-3.13.4.tar.gz and cmake-3.14.0-rc1.tar.gz

About: CMake is a cross-platform build system designed to build, test and package software. Release candidate.

FindPythonLibs.cmake  (cmake-3.13.4):FindPythonLibs.cmake  (cmake-3.14.0-rc1)
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying # Distributed under the OSI-approved BSD 3-Clause License. See accompanying
# file Copyright.txt or https://cmake.org/licensing for details. # file Copyright.txt or https://cmake.org/licensing for details.
#.rst: #[=======================================================================[.rst:
# FindPythonLibs FindPythonLibs
# -------------- --------------
#
# Find python libraries .. deprecated:: 3.12
#
# .. deprecated:: 3.12 Use :module:`FindPython3`, :module:`FindPython2` or :module:`FindPython` inste
# ad.
# Use :module:`FindPython3`, :module:`FindPython2` or :module:`FindPython` ins
tead. Find python libraries
#
# This module finds if Python is installed and determines where the This module finds if Python is installed and determines where the
# include files and libraries are. It also determines what the name of include files and libraries are. It also determines what the name of
# the library is. This code sets the following variables: the library is. This code sets the following variables:
#
# :: ::
#
# PYTHONLIBS_FOUND - have the Python libs been found PYTHONLIBS_FOUND - have the Python libs been found
# PYTHON_LIBRARIES - path to the python library PYTHON_LIBRARIES - path to the python library
# PYTHON_INCLUDE_PATH - path to where Python.h is found (deprecated) PYTHON_INCLUDE_PATH - path to where Python.h is found (deprecated)
# PYTHON_INCLUDE_DIRS - path to where Python.h is found PYTHON_INCLUDE_DIRS - path to where Python.h is found
# PYTHON_DEBUG_LIBRARIES - path to the debug library (deprecated) PYTHON_DEBUG_LIBRARIES - path to the debug library (deprecated)
# PYTHONLIBS_VERSION_STRING - version of the Python libs found (since CMake 2 PYTHONLIBS_VERSION_STRING - version of the Python libs found (since CMake 2.8
.8.8) .8)
#
# The Python_ADDITIONAL_VERSIONS variable can be used to specify a list
# of version numbers that should be taken into account when searching
# The Python_ADDITIONAL_VERSIONS variable can be used to specify a list for Python. You need to set this variable before calling
# of version numbers that should be taken into account when searching find_package(PythonLibs).
# for Python. You need to set this variable before calling
# find_package(PythonLibs). If you'd like to specify the installation of Python to use, you should
# modify the following cache variables:
# If you'd like to specify the installation of Python to use, you should
# modify the following cache variables: ::
#
# :: PYTHON_LIBRARY - path to the python library
# PYTHON_INCLUDE_DIR - path to where Python.h is found
# PYTHON_LIBRARY - path to the python library
# PYTHON_INCLUDE_DIR - path to where Python.h is found If calling both ``find_package(PythonInterp)`` and
# ``find_package(PythonLibs)``, call ``find_package(PythonInterp)`` first to
# If calling both ``find_package(PythonInterp)`` and get the currently active Python version by default with a consistent version
# ``find_package(PythonLibs)``, call ``find_package(PythonInterp)`` first to of PYTHON_LIBRARIES.
# get the currently active Python version by default with a consistent version #]=======================================================================]
# of PYTHON_LIBRARIES.
# Use the executable's path as a hint # Use the executable's path as a hint
set(_Python_LIBRARY_PATH_HINT) set(_Python_LIBRARY_PATH_HINT)
if(IS_ABSOLUTE "${PYTHON_EXECUTABLE}") if(IS_ABSOLUTE "${PYTHON_EXECUTABLE}")
if(WIN32) if(WIN32)
get_filename_component(_Python_PREFIX "${PYTHON_EXECUTABLE}" PATH) get_filename_component(_Python_PREFIX "${PYTHON_EXECUTABLE}" PATH)
if(_Python_PREFIX) if(_Python_PREFIX)
set(_Python_LIBRARY_PATH_HINT ${_Python_PREFIX}/libs) set(_Python_LIBRARY_PATH_HINT ${_Python_PREFIX}/libs)
endif() endif()
unset(_Python_PREFIX) unset(_Python_PREFIX)
 End of changes. 1 change blocks. 
44 lines changed or deleted 43 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)