[CMake] Debugging find_package() search behavior?

Robert Dailey rcdailey.lists at gmail.com
Sun Aug 27 15:55:04 EDT 2017


So I'm trying to get CMake to find a package, and it isn't finding it.
I am setting CMAKE_PREFIX_PATH to try to get it to find it. Is there a
way I can view the search paths & prefixes that CMake is using with
each find_package() call? I tried enabling debug and trace output, but
neither of these seem to show any detail of what happens internally
with find_package() searches.

Thanks in advance.


More information about the CMake mailing list