Hi --

When using cmake from MacPorts, how can I get it to use python from MacPorts?
These lines in CMakeLists.txt
   find_package(Python COMPONENTS Interpreter Development)
   message("Python is ${Python_EXECUTABLE}")
print
   Python is 
/Applications/Xcode.app/Contents/Developer/Library/Frameworks/Python3.framework/Versions/3.8/bin/python3.8

/opt/local/bin is at the top of my path, and I used "port select" to point both 
python and python3 to a version of python in /opt/local/bin.

Thanks.

 -- Steve



Reply via email to