MantisBT - CMake | ||||||||||
View Issue Details | ||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||||
0014271 | CMake | (No Category) | public | 2013-07-04 11:15 | 2016-06-10 14:31 | |||||
Reporter | Hans Johnson | |||||||||
Assigned To | Matt McCormick | |||||||||
Priority | high | Severity | major | Reproducibility | always | |||||
Status | closed | Resolution | moved | |||||||
Platform | Intel | OS | Mac | OS Version | 10.8 | |||||
Product Version | CMake 2.8.11.1 | |||||||||
Target Version | Fixed in Version | |||||||||
Summary | 0014271: find_package PythonInterp and PythonLibs are not consistent | |||||||||
Description | On mac when specifying the requested python version, the wrong paths are being specified inconsistently. When a specific version is requested, the paths should be taken from: /System/Library/Frameworks/Python.framework/Versions/2.X/ | |||||||||
Steps To Reproduce | On mac configure this package: cmake_minimum_required(VERSION 2.8.11) foreach(REQUIRED_PYTHON_VERSION 2.7 2.6 2.5 ) message(STATUS "======== LOOKING FOR ${REQUIRED_PYTHON_VERSION} ========================") find_package ( PythonInterp ${REQUIRED_PYTHON_VERSION} REQUIRED) find_package ( PythonLibs ${PYTHON_VERSION_STRING} EXACT) #find_package ( PythonLibs ${PYTHON_VERSION_STRING} EXACT REQUIRED ) message(STATUS "PYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE}") message(STATUS "PYTHON_LIBRARY:FILEPATH=${PYTHON_LIBRARY}") message(STATUS "PYTHON_INCLUDE_DIR:FILEPATH=${PYTHON_INCLUDE_DIR}") unset(PYTHON_EXECUTABLE CACHE) unset(PYTHON_LIBRARY CACHE) unset(PYTHON_INCLUDE_DIR CACHE) endforeach() | |||||||||
Additional Information | johnsonhj@neuron$ ls -al /System/Library/Frameworks/Python.framework/Headers lrwxr-xr-x 1 root wheel 24 May 21 08:33 /System/Library/Frameworks/Python.framework/Headers@ -> Versions/Current/Headers /scratch/johnsonhj/src/Testing johnsonhj@neuron$ ls -alrth /System/Library/Frameworks/Python.framework/Versions/Current lrwxr-xr-x 1 root wheel 3B May 20 14:00 /System/Library/Frameworks/Python.framework/Versions/Current@ -> 2.7 | |||||||||
Tags | No tags attached. | |||||||||
Relationships |
| |||||||||
Attached Files | ||||||||||
Issue History | ||||||||||
Date Modified | Username | Field | Change | |||||||
2013-07-04 11:15 | Hans Johnson | New Issue | ||||||||
2013-07-08 09:37 | Brad King | Note Added: 0033502 | ||||||||
2013-07-08 09:37 | Brad King | Status | new => backlog | |||||||
2013-07-08 09:37 | Brad King | Additional Information Updated | bug_revision_view_page.php?rev_id=1211#r1211 | |||||||
2014-03-24 18:26 | Ben Boeckel | Note Added: 0035500 | ||||||||
2014-03-26 11:06 | Brad King | Relationship added | related to 0013794 | |||||||
2014-03-26 11:08 | Brad King | Note Added: 0035530 | ||||||||
2014-03-26 12:02 | Hans Johnson | Note Added: 0035532 | ||||||||
2014-03-26 12:50 | Brad King | Assigned To | => Matt McCormick | |||||||
2014-03-26 12:50 | Brad King | Status | backlog => assigned | |||||||
2016-06-10 14:29 | Kitware Robot | Note Added: 0042311 | ||||||||
2016-06-10 14:29 | Kitware Robot | Status | assigned => resolved | |||||||
2016-06-10 14:29 | Kitware Robot | Resolution | open => moved | |||||||
2016-06-10 14:31 | Kitware Robot | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|