Help: Modernize PackageConfigHelpers example
Loading
The example shown in the module documentation for CMakePackageConfigHelpers was showing its age, by:
etc/
, lib/
, etc.) instead of
using GNUInstallDirsset()
commands (incorrectly!) as:set(VAR dir/ ... CACHE )
set(VAR dir/ CACHE ... )
lib/Foo/cmake/
, when
current practice favors ${CMAKE_INSTALL_LIBDIR}/cmake/Foo/
This updated example addresses all of those issues.