@raymondEhlers : there are two possibilities, either:
file( GLOB PY_ALT_PREFIX_PATH "$ENV{PYENV_ROOT}/versions/${XRD_PYTHON_REQ_VERSION}*" )
set( CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};${PY_ALT_PREFIX_PATH}" )
The advantage is you don't need to do anything it should work out of the box, the disadvantage is that if there are more than one installations say 3.9.1
and 3.9.2
cmake will make an arbitrary choice for you.
XRD_PY_PREFIX_PATH
and then in the cmake:set( CMAKE_PREFIX_PATH "${CMAKE_PREFIX_PATH};$ENV{XRD_PY_PREFIX_PATH}" )
The advantage is you are in control, the disadvantage is it is not automatic.
Let me know your thoughts!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1