diff --git a/cmake/SlangTarget.cmake b/cmake/SlangTarget.cmake index 45e7cf1e1d..eae5cf35e4 100644 --- a/cmake/SlangTarget.cmake +++ b/cmake/SlangTarget.cmake @@ -505,10 +505,14 @@ function(slang_add_target dir type) endif() install( TARGETS ${target} ${export_args} - ARCHIVE DESTINATION ${archive_subdir} ${ARGN} - LIBRARY DESTINATION ${library_subdir} ${ARGN} - RUNTIME DESTINATION ${runtime_subdir} ${ARGN} - PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} ${ARGN} + ARCHIVE DESTINATION ${archive_subdir} + ${ARGN} + LIBRARY DESTINATION ${library_subdir} + ${ARGN} + RUNTIME DESTINATION ${runtime_subdir} + ${ARGN} + PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + ${ARGN} ) endmacro()