From 71fb612d99a5a19fa603515492b4424721b9298a Mon Sep 17 00:00:00 2001 From: faumaray Date: Sat, 1 Aug 2026 20:22:48 +0300 Subject: [PATCH] Map component paths in release debug info --- CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 16829c4..e8dfe81 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -68,6 +68,11 @@ if(ECHOION_REPRODUCIBLE_BUILD) list(APPEND _echoionPrefixMaps "${CPM_VoidTeamspeak_SOURCE}=VoidTeamspeak") endif() + if(DEFINED ECHOION_COMPONENT_WORKSPACE AND + NOT ECHOION_COMPONENT_WORKSPACE STREQUAL "") + list(APPEND _echoionPrefixMaps + "${ECHOION_COMPONENT_WORKSPACE}=EchoionComponents") + endif() foreach(_echoionPrefixMap IN LISTS _echoionPrefixMaps) add_compile_options( "$<$:-ffile-prefix-map=${_echoionPrefixMap}>"