From cde46127a155009dc5a7b39ccd7b72335e6c6a63 Mon Sep 17 00:00:00 2001 From: d3x0r Date: Tue, 4 Jul 2017 05:58:07 -0700 Subject: [PATCH] Update CMakeLists.txt --- glslang/OSDependent/Windows/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/glslang/OSDependent/Windows/CMakeLists.txt b/glslang/OSDependent/Windows/CMakeLists.txt index cc65ad6..0cd7c94 100644 --- a/glslang/OSDependent/Windows/CMakeLists.txt +++ b/glslang/OSDependent/Windows/CMakeLists.txt @@ -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) -- 2.7.4