From 79d84fad0eed92796500f77061806cfa5a8949cb Mon Sep 17 00:00:00 2001 From: Kornel Benko Date: Wed, 12 Jun 2019 19:31:46 +0200 Subject: [PATCH] Cmake build: Remove debug message --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c3fcadf5a0..51185601b7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -337,11 +337,9 @@ endif() macro(setstripped _varname) if(${ARGC} GREATER 1) string(STRIP "${ARGV1}" _v) - message(STATUS "1. _v = ${_varname} ${_v}") if (_v MATCHES "^\\[\(.+\)\\]$") set(_v ${CMAKE_MATCH_1}) endif() - message(STATUS "2. _v = ${_v}") if(USE_POSIX_PACKAGING) string(TOLOWER ${_v} ${_varname}) else() @@ -354,6 +352,8 @@ endmacro(setstripped) foreach(_c_l ${_config_lines} ) if(_c_l MATCHES "^AC_INIT\\(\([^,]+\),\([^,]+\), *\\[\([^,]+\)\\] *,\(.*\)") + # Not using CMAKE_MATCH_ directly is needed, because + # its value is now changed inside macro setstripped set(_PB ${CMAKE_MATCH_1}) set(_PV ${CMAKE_MATCH_2}) set(_PBU ${CMAKE_MATCH_3})