summaryrefslogtreecommitdiff
path: root/CMake/fl_debug_var.cmake
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-08 18:56:40 +0200
committerAlbrecht Schlosser <albrechts.fltk@online.de>2024-04-08 18:56:40 +0200
commit265e5cd77b30581e7701927930d8fa887e0361df (patch)
tree1c0d545b1a6d239054c801aaffeea13e195c7ad8 /CMake/fl_debug_var.cmake
parentba7b2427b6dabbc1200207fff3b576d09f18c931 (diff)
Improve CMake build configuration summary
- simplify and unify build option output - alignment can be changed in only 2 macros in CMake/fl_summary.cmake - output system library location of image libraries if applicable
Diffstat (limited to 'CMake/fl_debug_var.cmake')
-rw-r--r--CMake/fl_debug_var.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMake/fl_debug_var.cmake b/CMake/fl_debug_var.cmake
index e3423b2ef..8f429889b 100644
--- a/CMake/fl_debug_var.cmake
+++ b/CMake/fl_debug_var.cmake
@@ -43,6 +43,8 @@ function(fl_expand_name out in min_len)
set(temp "${in}${spaces}${spaces}")
string(SUBSTRING "${temp}" 0 ${min_len} temp)
set(${out} "${temp}" PARENT_SCOPE)
+ else()
+ set(${out} "${in}" PARENT_SCOPE)
endif()
endfunction(fl_expand_name)