5 lines
224 B
CMake
5 lines
224 B
CMake
execute_process(COMMAND "@BASH_EXECUTABLE@" CompileShaders.sh WORKING_DIRECTORY "@ROOT_FOLDER@/Scripts" RESULT_VARIABLE res_var)
|
|
if(NOT "${res_var}" STREQUAL "0")
|
|
message(FATAL_ERROR "Failed to recompile shaders")
|
|
endif()
|