Mentions légales du service

Skip to content
Snippets Groups Projects
Commit d0676160 authored by Mathieu Faverge's avatar Mathieu Faverge
Browse files

Merge branch 'fix-glslc-mandatory-detection' into 'master'

Make glslc program really required when Vulkan is used

See merge request solverstack/vite!37
parents df18a58d ef2f941f
Branches
Tags
1 merge request!37Make glslc program really required when Vulkan is used
Pipeline #585619 canceled
......@@ -548,7 +548,7 @@ ENDIF (VITE_ENABLE_TAU)
IF (USE_VULKAN)
#Compile shader for Vulkan
find_program(GLSLC glslc required)
find_program(GLSLC glslc REQUIRED)
add_custom_command(TARGET vite POST_BUILD
COMMAND ${GLSLC} ${CMAKE_SOURCE_DIR}/src/render/vulkan/vulkanshader.vert -o color_vert.spv
COMMAND ${GLSLC} ${CMAKE_SOURCE_DIR}/src/render/vulkan/vulkanshader.frag -o color_frag.spv
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment