Add a CMake option to disable compilation of HLSL input support.
This commit is contained in:
parent
5d89d4d483
commit
84eabf7ea7
3 changed files with 30 additions and 4 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue