2 ms·
> The CMake find_program thing was utterly unable to find glslc, even when I placed it in /usr/bin/; I had to hand-edit the build/CMakeCache.txt entry. (^*%^&^$
by jcelerier 6y ago
> The CMake find_program thing was utterly unable to find glslc, even when I placed it in /usr/bin/; I had to hand-edit the build/CMakeCache.txt entry. (^*%^&^$%&% CMake.)
I checked and the CMake code in this project is wrong:
https://cmake.org/cmake/help/latest/command/find_program.html https://cmake.org/cmake/help/latest/command/find_program.htm...
it should be
find_program(GLSLC_PATH glslc REQUIRED FATAL_ERROR)
e.g. here it was calling find_program with "glslc" as variable name in which to put a program called ""
I submitted a fix here: https://github.com/cledant/scop_vulkan/pull/1 https://github.com/cledant/scop_vulkan/pull/1