Hi! On Sun, Sep 11, 2011 at 1:56 AM, Jakub Wilk <jwilk@debian.org> 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