commit 79d84fad0eed92796500f77061806cfa5a8949cb
Author: Kornel Benko <[email protected]>
Date: Wed Jun 12 19:31:46 2019 +0200
Cmake build: Remove debug message
---
CMakeLists.txt | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c3fcadf..5118560 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})