Skip to content
  • Matt McCormick's avatar
    FindPythonLibs: Find the python.org libraries (#14809) · 02fd0356
    Matt McCormick authored and Brad King's avatar Brad King committed
    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.
    02fd0356