Latest versions of CMake need a hand for Python detection (#14247)
This commit is contained in:
parent
3bb9d0feb4
commit
3dd59c569e
@ -43,5 +43,6 @@ def cmake_args(self):
|
|||||||
"-DBUILD_TESTING={0}".format(spec.satisfies('+testing')),
|
"-DBUILD_TESTING={0}".format(spec.satisfies('+testing')),
|
||||||
"-DBOOST_ROOT={0}".format(spec['boost'].prefix),
|
"-DBOOST_ROOT={0}".format(spec['boost'].prefix),
|
||||||
"-DBoost_NO_BOOST_CMAKE=ON",
|
"-DBoost_NO_BOOST_CMAKE=ON",
|
||||||
|
"-DPYTHON_EXECUTABLE={0}".format(spec['python'].command.path),
|
||||||
]
|
]
|
||||||
return args
|
return args
|
||||||
|
Loading…
Reference in New Issue
Block a user