[osg-users] Self provide osg related cmake find_package support

Ralf Habacker ralf.habacker at freenet.de
Thu Apr 26 00:11:00 PDT 2018


Hi all,

Currently, cmake build support for clients depends on public releases of
cmake because the find_package related files are located in the Modules
subdirectory of a cmake installation (see
https://github.com/Kitware/CMake/tree/master/Modules).

Any change to the find_package related files must be sent to cmake or
requires embedding the entire set of find_package related files
(approximately 24 files) into client packages.

Fortunally has cmake support so projects can add the needed files to the
project itself, install them with all other installed files, and
instantly use them by the clients.

This is possible with the help of Config-file Packages (see
https://cmake.org/cmake/help/git-master/manual/cmake-packages.7.html#creating-packages)

Cheers
Ralf



More information about the osg-users mailing list