cmake-basis / BASIS

CMake BASIS makes it easy to create sharable software and libraries that work together. This is accomplished by combining and documenting some of the best practices and utilities available. This project supplies a fully integrated suite of functionality to make the whole process seamless!
https://cmake-basis.github.io
Other
48 stars 10 forks source link

FindPythonModules does not work with Python3 #643

Open rettenbs opened 2 years ago

rettenbs commented 2 years ago

With Python3 you need parenthesis with print, i.e.

print(${ARGN_NAME}.__file__)

instead of

print ${ARGN_NAME}.__file__