conan-io / examples

Conan 1.x examples
MIT License
124 stars 66 forks source link

force CONFIG mode in find_package over MODULE mode #22

Closed czoido closed 5 years ago

czoido commented 5 years ago

I have changed the examples code and documentation in order to force CONFIG mode in CMake's find_package over MODULE mode. If not set It could happen that CMake tries to load a FindXXXX.cmake from the default modules directory instead of the correct XXXXConfig.cmake generated by Conan.