cmake: simplify glslang integration (#4652)

* cmake: simplify glslang integration

* Fix warning (ignored attributes), part 2
This commit is contained in:
scribam 2018-06-06 14:45:28 +02:00 committed by kd-11
parent 5c9d0e4b46
commit 824ad4fea7
4 changed files with 13 additions and 29 deletions

View file

@ -1,3 +1,4 @@
if(WIN32 AND NOT VULKAN_PREBUILT)
add_subdirectory( glslang )
endif()
set(SKIP_GLSLANG_INSTALL ON CACHE BOOL "Skip installation" FORCE)
set(ENABLE_GLSLANG_BINARIES OFF CACHE BOOL "Builds glslangValidator and spirv-remap" FORCE)
set(ENABLE_HLSL OFF CACHE BOOL "Enables HLSL input support" FORCE)
add_subdirectory(glslang)