diff options
author | Matt McCormick <matt.mccormick@kitware.com> | 2014-02-27 02:47:20 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2014-03-03 15:02:35 (GMT) |
commit | 3816cd2dc7a7cc220e4f1b1e87fee986545b9cb3 (patch) | |
tree | 7a1d223f172dc12676df8977aa7395e500e97bfd /Modules/CMakeCXXCompiler.cmake.in | |
parent | 6e6fbb0e436889c93bb64930fda51a1ef32326ae (diff) | |
download | CMake-3816cd2dc7a7cc220e4f1b1e87fee986545b9cb3.zip CMake-3816cd2dc7a7cc220e4f1b1e87fee986545b9cb3.tar.gz CMake-3816cd2dc7a7cc220e4f1b1e87fee986545b9cb3.tar.bz2 |
FindPythonLibs: Find consistent Python interp, headers, libs (#13794)
When possible, get consistent version of the Python interpreter, headers path,
and library.
Now find_package(PythonLibs) internally calls find_package(PythonInterp
QUIET) and uses the resulting PYTHON_VERSION_MAJOR and
PYTHON_VERSION_MINOR to prefer these versions when looking for the
header path and library. The Python_ADDITIONAL_VERSIONS variable has
priority over the interpreter version.
Co-Author: Adam Wolf
Co-Author: Gert Wollny <gw.fossdev@gmail.com>
Diffstat (limited to 'Modules/CMakeCXXCompiler.cmake.in')
0 files changed, 0 insertions, 0 deletions