Only install/test if PROJECT_IS_TOP_LEVEL
Further remove installing glslangtests. There isn't a need to do that. glslangtests isn't a deliverable.
This commit is contained in:
parent
3b99124593
commit
cf1fbbff44
7 changed files with 39 additions and 51 deletions
|
|
@ -118,7 +118,7 @@ if(WIN32)
|
|||
source_group("Source" FILES ${SPVREMAP_SOURCES} ${SPVREMAP_HEADERS})
|
||||
endif()
|
||||
|
||||
if(ENABLE_GLSLANG_INSTALL)
|
||||
if(PROJECT_IS_TOP_LEVEL)
|
||||
if (ENABLE_SPVREMAPPER)
|
||||
install(TARGETS SPVRemapper EXPORT glslang-targets)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue