dpkg: only install config if we are building it

This commit is contained in:
Joshua Peisach 2025-06-21 15:52:42 -04:00
parent 3f6a58e01f
commit 520a9fb926
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A

View File

@ -656,8 +656,11 @@ elseif(DPKG)
# Don't replace system SDL3 # Don't replace system SDL3
list(REMOVE_ITEM install_extra_targets "SDL3-shared") list(REMOVE_ITEM install_extra_targets "SDL3-shared")
# "config" is a vague binary name
set_property(TARGET config PROPERTY OUTPUT_NAME "isle-config") if(ISLE_BUILD_CONFIG)
# "config" is a vague binary name
set_property(TARGET config PROPERTY OUTPUT_NAME "isle-config")
endif()
set(CPACK_GENERATOR DEB) set(CPACK_GENERATOR DEB)
else() else()