From 520a9fb926f0702644f01578d5eab20cc31545d9 Mon Sep 17 00:00:00 2001 From: Joshua Peisach Date: Sat, 21 Jun 2025 15:52:42 -0400 Subject: [PATCH] dpkg: only install config if we are building it --- CMakeLists.txt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 1787fb8c..8ee8ceab 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -656,8 +656,11 @@ elseif(DPKG) # Don't replace system SDL3 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) else()