mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
cmake: don't add to miniwin
Visual Studio tries to compile the shaders, which does not work well
This commit is contained in:
parent
3cbaa90554
commit
6e7e2cac4d
@ -170,7 +170,7 @@ foreach(shader_src IN LISTS miniwin_shaders)
|
|||||||
"--dxil" "${dxil}" "--msl" "${msl}" "--spirv" "${spirv}"
|
"--dxil" "${dxil}" "--msl" "${msl}" "--spirv" "${spirv}"
|
||||||
DEPENDS "${py_gencshadersource}" "${dxil}" "${msl}" "${spirv}")
|
DEPENDS "${py_gencshadersource}" "${dxil}" "${msl}" "${spirv}")
|
||||||
endif()
|
endif()
|
||||||
target_sources(miniwin PRIVATE "${shader_src}" "${shader_header}")
|
target_sources(miniwin PRIVATE "${shader_header}")
|
||||||
list(APPEND shader_names "${shader_name}")
|
list(APPEND shader_names "${shader_name}")
|
||||||
list(APPEND shader_variables "${shader_variable}")
|
list(APPEND shader_variables "${shader_variable}")
|
||||||
list(APPEND shader_headers "${shader_header}")
|
list(APPEND shader_headers "${shader_header}")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user