Boost logo

Boost Interest :

Subject: Re: [Boost-cmake] trying to use non-system Python
From: troy d. straszheim (troy_at_[hidden])
Date: 2009-03-04 10:15:22

Randy Heiland wrote:
> Hello,
> I'll post this in case someone knows the answer, while I go searching...
> I want to specify a non-system Python to be used, so I set the following
> in my CMakeCache.txt (obviously, I'm on OSX):
> PYTHON_DEBUG_LIBRARY:FILEPATH=<path-to-my>/Python.framework
> PYTHON_EXECUTABLE:FILEPATH=/usr/local/bin/python2.6
> PYTHON_INCLUDE_PATH:PATH=<path-to-my>/Python.framework/Headers
> PYTHON_DEBUG_LIBRARY:FILEPATH=<path-to-my>/Python.framework
> However, re-config'ing, both of the LIB vars get reset to the system
> Python:
> I'm able to get away with doing this, i.e. specify non-system Python,
> for another cmake-based project. I'm guessing the problem has to do
> with FindPythonLibs.cmake

Hmm. So setting those manually in your cmake cache triggers a reconf
for boost-cmake, but not the other project you speak of?


Boost-cmake list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at