From 9c6ea324cbff3bf07b3c0080a9cb1aeb7fd31c99 Mon Sep 17 00:00:00 2001 From: d3x0r Date: Tue, 4 Jul 2017 05:59:34 -0700 Subject: [PATCH] Update CMakeLists.txt --- hlsl/CMakeLists.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/hlsl/CMakeLists.txt b/hlsl/CMakeLists.txt index 24f5c9a1..ea4942cf 100755 --- a/hlsl/CMakeLists.txt +++ b/hlsl/CMakeLists.txt @@ -24,5 +24,7 @@ if(WIN32) source_group("Source" FILES ${SOURCES} ${HEADERS}) endif(WIN32) -install(TARGETS HLSL - ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) +if(ENABLE_GLSLANG_INSTALL) + install(TARGETS HLSL + ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}) +endif(ENABLE_GLSLANG_INSTALL)