Merge pull request #969 from d3x0r/patch-1

Add option to skip installation
This commit is contained in:
John Kessenich 2017-07-04 11:00:42 -06:00 committed by GitHub
commit 17b5f9175d
9 changed files with 46 additions and 23 deletions

View file

@ -8,5 +8,7 @@ if(WIN32)
source_group("Source" FILES ${SOURCES})
endif(WIN32)
install(TARGETS OGLCompiler
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
if(ENABLE_GLSLANG_INSTALL)
install(TARGETS OGLCompiler
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
endif(ENABLE_GLSLANG_INSTALL)