On Thu, Aug 13, 2020 at 4:58 PM Sandro Mani <manisandro(a)gmail.com> wrote:
Hi Richard
You can pass NO_CMAKE_FIND_ROOT_PATH to FIND_FILE if that's where the
problem arises, i.e. in an project I have
FIND_FILE(_find_pyqt5_py FindPyQt5.py PATHS ${CMAKE_MODULE_PATH}
NO_CMAKE_FIND_ROOT_PATH)
That works if it's my CMake file, but this is using the system
FindwxWidgets module.
Thanks,
Richard