File tree 1 file changed +0
-8
lines changed
1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -17,20 +17,12 @@ foreach(shader ${shader_files})
17
17
set (compiled_shaders ${compiled_shaders} ${output_file} )
18
18
set (compiled_shaders ${compiled_shaders} PARENT_SCOPE)
19
19
set_source_files_properties (${shader} PROPERTIES HEADER_FILE_ONLY TRUE )
20
- if (WIN32 )
21
20
add_custom_command (
22
21
OUTPUT ${output_file}
23
22
COMMAND ${CMAKE_COMMAND} -E make_directory ${output_dir}
24
23
COMMAND ${Vulkan_GLSLANG_VALIDATOR} -V ${full_path} -o ${output_file}
25
24
DEPENDS ${full_path}
26
25
)
27
- else ()
28
- add_custom_command (
29
- OUTPUT ${output_file}
30
- COMMAND mkdir --parents ${output_dir} && ${Vulkan_GLSLANG_VALIDATOR} -V ${full_path} -o ${output_file}
31
- DEPENDS ${full_path}
32
- )
33
- endif ()
34
26
endforeach ()
35
27
36
28
macro (copy_assets asset_files dir_name copied_files)
You can’t perform that action at this time.
0 commit comments