https://github.com/Kitware/CMake
Revision 02fd035689ab5bbb12a16f47bca214600a9a2fde authored by Matt McCormick on 02 July 2015, 15:21:08 UTC, committed by Brad King on 06 July 2015, 15:14:34 UTC
Address the test case

  cmake_minimum_required(VERSION 2.8)
  set(Python_ADDITIONAL_VERSIONS 3.4 3.5 3.6)
  find_package(PythonLibs 3 REQUIRED)

with a Python 3.4.x .pkg installed from python.org on OSX.

Temporarily set CMAKE_FIND_FRAMEWORK to LAST to avoid finding the
system Python.h prematurely.

Add directories inside the frameworks to the search list for the library
as is done for the header.
1 parent 74c99d1
History
Tip revision: 02fd035689ab5bbb12a16f47bca214600a9a2fde authored by Matt McCormick on 02 July 2015, 15:21:08 UTC
FindPythonLibs: Find the python.org libraries (#14809)
Tip revision: 02fd035
File Mode Size
Auxiliary
Help
Licenses
Modules
Source
Templates
Tests
Utilities
.gitattributes -rw-r--r-- 613 bytes
.hooks-config.bash -rw-r--r-- 866 bytes
CMakeCPack.cmake -rw-r--r-- 6.5 KB
CMakeCPackOptions.cmake.in -rw-r--r-- 4.5 KB
CMakeGraphVizOptions.cmake -rw-r--r-- 153 bytes
CMakeLists.txt -rw-r--r-- 25.0 KB
CMakeLogo.gif -rw-r--r-- 4.4 KB
CONTRIBUTING.rst -rw-r--r-- 1009 bytes
CTestConfig.cmake -rw-r--r-- 870 bytes
CTestCustom.cmake.in -rw-r--r-- 5.0 KB
CompileFlags.cmake -rw-r--r-- 3.1 KB
Copyright.txt -rw-r--r-- 2.6 KB
DartConfig.cmake -rw-r--r-- 804 bytes
README.rst -rw-r--r-- 2.9 KB
bootstrap -rwxr-xr-x 57.5 KB
cmake_uninstall.cmake.in -rw-r--r-- 790 bytes
configure -rwxr-xr-x 99 bytes
doxygen.config -rw-r--r-- 27.4 KB

README.rst

back to top