Hi!

On Sun, Sep 11, 2011 at 1:56 AM, Jakub Wilk <[email protected]> wrote:
> There are other problems with cmake Python support:
> http://bugs.debian.org/580503

I solved this by passing CMAKE_USE_PYTHON_VERSION parameter to cmake:

PYTHON_VERSION = $(shell $(PYTHON) -c 'import sys; print "%s.%s" %
sys.version_info[:2]')

cmake -DPYTHON_EXECUTABLE=$(PYTHON)
-DCMAKE_USE_PYTHON_VERSION=$(PYTHON_VERSION) ...


Mitar


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/CAKLmikP13apUXj_QmzJH3Up6-Eg8FdbAO=rxv1bxpr04buq...@mail.gmail.com

Reply via email to