video_core/CMakeLists.txt: Use toolchain cmake in shader header generator
This commit is contained in:
parent
9fbda04891
commit
228f648e3f
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user