On debian the installscript is not working, this is caused by libpng16-deb not in the repositories. Another problem is that the version of Cmake on repositories is 3.0.2 and the required version is 3.3.2
Will fix this over the next few days, in the meantime you can lower the cmake version at the top of the root CMakeLists.txt and the package name in the debian_installdeps() function in ./installdeps .
Forcing using 3.0.2 version will raise errors
116 CMake Error at CMakeLists.txt:310 (ADD_COMPILE_OPTIONS):
117 Error evaluating generator expression:
121 Expression did not evaluate to a known generator expression
124 CMake Error at CMakeLists.txt:314 (ADD_COMPILE_OPTIONS):
125 Error evaluating generator expression: