Fold install(...) calls into set_output_dirs

This commit is contained in:
Tim Angus committed 2025-09-11 21:22:42 +01:00
1 parent 3d8979f769
commit f60d07bb55
9 files changed
+27 -15

No files matched your search

+3
View File
@@ -24,4 +24,7 @@ function(set_output_dirs TARGET)
RUNTIME_OUTPUT_DIRECTORY_${CONFIG_UPPER} ${OUT_DIR}
ARCHIVE_OUTPUT_DIRECTORY_${CONFIG_UPPER} ${OUT_DIR})
endforeach()
set_target_properties(${TARGET} PROPERTIES
INSTALL_DESTINATION ./${ARG_SUBDIRECTORY})
endfunction()