Latest versions of CMake need a hand for Python detection (#14247)
This commit is contained in:
parent
3bb9d0feb4
commit
3dd59c569e
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue