Update CMakeLists.txt
authord3x0r <d3x0r@users.noreply.github.com>
Tue, 4 Jul 2017 12:58:07 +0000 (05:58 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2017 12:58:07 +0000 (05:58 -0700)
glslang/OSDependent/Windows/CMakeLists.txt

index cc65ad6..0cd7c94 100644 (file)
@@ -13,5 +13,7 @@ if(WIN32)
     source_group("Source" FILES ${SOURCES})
 endif(WIN32)
 
-install(TARGETS OSDependent
-        ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
+if(ENABLE_GLSLANG_INSTALL)
+    install(TARGETS OSDependent
+            ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})
+endif(ENABLE_GLSLANG_INSTALL)