Add a CMake option to disable compilation of HLSL input support.

This commit is contained in:
Alex Szpakowski
2017-01-08 21:20:25 -04:00
parent 5d89d4d483
commit 84eabf7ea7
3 changed files with 30 additions and 4 deletions

View File

@@ -22,11 +22,14 @@ set(LIBRARIES
glslang
OGLCompiler
OSDependent
HLSL
SPIRV
SPVRemapper
glslang-default-resource-limits)
if(NOT DISABLE_HLSL)
set(LIBRARIES ${LIBRARIES} HLSL)
endif()
if(WIN32)
set(LIBRARIES ${LIBRARIES} psapi)
elseif(UNIX)