(cmake): sight-project installation error due to sight version
Summary
When installing an application depending on sight, it looks for a sightrun binary with the project version, referred in the application CMAKELists instead of the sight version.
This creates difficulties, as the project version does not often match the sight version.
This leads to the error at the project install:
"toto/install/sight_R/lib/cmake/sight/../../../bin/sightrun.bin-0.1.0":100:
Steps to reproduce
try to install a project depending on sight which has a different version than sight.
Possible fixes
A work around would be to set the project cmake variables SIGHT_VERSION and SIGHT_API_VERSION to the version of the sight project:
set(SIGHT_API_VERSION "21.0")
Though this is a workaround, not the sollution