aboutsummaryrefslogtreecommitdiffstats
path: root/src/cmake/misc.cmake
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2021-07-16 12:44:22 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2021-07-16 12:25:46 +0000
commitf2912e02cec27348900e49220e45eb65f75236c3 (patch)
tree8939528812ac5be58e7e74b5724b494d89bc8afe /src/cmake/misc.cmake
parent537e955545c54820e9a6a54225bfb280f7cd7763 (diff)
build: fix formatting of CMake config output
Type: make Change-Id: I6e40817609d022cb70887f70aa3608dc759fcd76 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/cmake/misc.cmake')
-rw-r--r--src/cmake/misc.cmake4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cmake/misc.cmake b/src/cmake/misc.cmake
index 9542557ce9d..14c7d495ead 100644
--- a/src/cmake/misc.cmake
+++ b/src/cmake/misc.cmake
@@ -39,7 +39,9 @@ endfunction()
##############################################################################
# aligned config output
##############################################################################
-function(pr desc val)
+function(pr desc)
+ # CMake 3.12+: list(JOIN ARGN " " val)
+ string(REPLACE ";" " " val "${ARGN}")
if("$ENV{TERM}" STREQUAL "xterm-256color")
string(ASCII 27 esc)
set(reset "${esc}[m")