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

master
SachinVin 2020-06-13 23:50:30 +07:00
parent 9fbda04891
commit 228f648e3f
1 changed files with 1 additions and 1 deletions

@ -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)