[CMake] cmake vs. Python 3.4
Lev
leventelist at gmail.com
Fri Dec 23 14:57:49 EST 2016
Hi list,
I have this:
FIND_PACKAGE(PythonInterp)
and cmake finds this:
-- Found PythonInterp: /usr/bin/python (found version "2.7.9")
However, 3.4 is also installed. How can I specify to find 3.4?
If I say:
set(Python_ADDITIONAL_VERSIONS 3.4)
FIND_PACKAGE(PythonInterp 3 REQUIRED)
still no luck.
This is on a Debian stable, so
$ cmake --version
cmake version 3.0.2
Thanks,
Levente
--
73 de HA5OGL
Op.: Levente
More information about the CMake
mailing list