Allow a suffix (e.g. the version) to be added when installing (#1406)

This commit is contained in:
Sylvie
2024-06-18 16:06:43 -04:00
committed by GitHub
parent ee748cfe26
commit 0433714d77
3 changed files with 24 additions and 1 deletions

View File

@@ -91,6 +91,9 @@ foreach(PROG "asm" "fix" "gfx" "link")
${rgb${PROG}_src}
${common_src}
)
if(SUFFIX)
set_target_properties(rgb${PROG} PROPERTIES SUFFIX ${SUFFIX})
endif()
install(TARGETS rgb${PROG} RUNTIME DESTINATION bin)
endforeach()