Re: [CMake] find_package Config vs Module mode

2018-10-20 Thread Johannes Zarl-Zierl
Hi Joachim, Am Samstag, 20. Oktober 2018, 13:22:04 CEST schrieb Joachim Wuttke: > If Config mode is the newer, preferred way to find a package, I would expect > find_package to first try Config mode, and only fall back to Module mode if > no config scripts can be found. However, according to the

[CMake] find_package Config vs Module mode

2018-10-20 Thread Joachim Wuttke
Somewhere we are advised that Module mode should be phased out in favor of Config mode. If Config mode is the newer, preferred way to find a package, I would expect find_package to first try Config mode, and only fall back to Module mode if no config scripts can be found. However, according to