Currently no GSLConfig.cmake file is installed so find_package can not be used with GSL.
Exporting the targets and having an install script is a crucial requirement for GSL to be used with CMake based package manager like hunter. Even without any package manager find_package is the most clean way to import dependencies in CMake.
The CMakeLists.txt should be changed to include an export and install rule.
Currently no GSLConfig.cmake file is installed so find_package can not be used with GSL.
Exporting the targets and having an install script is a crucial requirement for GSL to be used with CMake based package manager like hunter. Even without any package manager
find_packageis the most clean way to import dependencies in CMake.The CMakeLists.txt should be changed to include an export and install rule.