cmake: Don't link SPVRemapper into glslang executable
The functionality of `libSPVRemapper` is only used by the `spirv-remap` executable, so don't link it into the `glslang` executable.
This commit is contained in:
parent
98aa694422
commit
70d125b924
@ -58,10 +58,6 @@ set(LIBRARIES
|
||||
SPIRV
|
||||
glslang-default-resource-limits)
|
||||
|
||||
if(ENABLE_SPVREMAPPER)
|
||||
set(LIBRARIES ${LIBRARIES} SPVRemapper)
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
set(LIBRARIES ${LIBRARIES} psapi)
|
||||
elseif(UNIX)
|
||||
@ -86,7 +82,7 @@ if(ENABLE_SPVREMAPPER)
|
||||
add_executable(spirv-remap ${REMAPPER_SOURCES})
|
||||
set_property(TARGET spirv-remap PROPERTY FOLDER tools)
|
||||
glslang_set_link_args(spirv-remap)
|
||||
target_link_libraries(spirv-remap ${LIBRARIES})
|
||||
target_link_libraries(spirv-remap SPVRemapper ${LIBRARIES})
|
||||
endif()
|
||||
|
||||
if(WIN32)
|
||||
|
Loading…
x
Reference in New Issue
Block a user