Fixed .dll install on MSVC.

This commit is contained in:
Matthew Albrecht
2019-05-23 19:01:57 -05:00
parent 27ec919585
commit cda52d5333
3 changed files with 6 additions and 3 deletions

View File

@@ -35,7 +35,8 @@ if(ENABLE_GLSLANG_INSTALL)
if(BUILD_SHARED_LIBS)
install(TARGETS HLSL
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
else()
install(TARGETS HLSL
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR})