video_core/CMakeLists.txt: Use toolchain cmake in shader header generator

This commit is contained in:
SachinVin 2020-06-13 23:50:30 +05:30
parent 9fbda04891
commit 228f648e3f

View file

@ -124,7 +124,7 @@ endforeach()
add_custom_target(shaders add_custom_target(shaders
BYPRODUCTS ${SHADER_HEADERS} BYPRODUCTS ${SHADER_HEADERS}
COMMAND cmake -P ${CMAKE_CURRENT_SOURCE_DIR}/generate_shaders.cmake COMMAND "${CMAKE_COMMAND}" -P ${CMAKE_CURRENT_SOURCE_DIR}/generate_shaders.cmake
SOURCES ${SHADER_FILES} SOURCES ${SHADER_FILES}
) )
add_dependencies(video_core shaders) add_dependencies(video_core shaders)