(CMake): add cmake 3.17.0 support
Summary
The sight cmakefile is no more compatible with the last cmake version 3.17.0.
Steps to reproduce
Upgrade cmake to the last version 3.17.0 Clear cmake cache Configure a sight project.
What is the current bug behavior?
The following error appears:
CMake Error at CMakeLists.txt:209 (foreach): foreach Invalid integer: '-'
Possible fixes
Correct the "-" with "0" at the indicated line