Update CMakeLists.txt
authord3x0r <d3x0r@users.noreply.github.com>
Tue, 4 Jul 2017 12:59:34 +0000 (05:59 -0700)
committerGitHub <noreply@github.com>
Tue, 4 Jul 2017 12:59:34 +0000 (05:59 -0700)
hlsl/CMakeLists.txt

index 24f5c9a..ea4942c 100755 (executable)
@@ -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)