Latest versions of CMake need a hand for Python detection (#14247)

This commit is contained in:
Hadrien G 2019-12-20 21:52:53 +01:00 committed by Adam J. Stewart
parent 3bb9d0feb4
commit 3dd59c569e

View file

@ -43,5 +43,6 @@ def cmake_args(self):
"-DBUILD_TESTING={0}".format(spec.satisfies('+testing')),
"-DBOOST_ROOT={0}".format(spec['boost'].prefix),
"-DBoost_NO_BOOST_CMAKE=ON",
"-DPYTHON_EXECUTABLE={0}".format(spec['python'].command.path),
]
return args