Cmake build: Remove debug message

This commit is contained in:
Kornel Benko 2019-06-12 19:31:46 +02:00
parent cf980435b1
commit 79d84fad0e

View File

@ -337,11 +337,9 @@ endif()
macro(setstripped _varname) macro(setstripped _varname)
if(${ARGC} GREATER 1) if(${ARGC} GREATER 1)
string(STRIP "${ARGV1}" _v) string(STRIP "${ARGV1}" _v)
message(STATUS "1. _v = ${_varname} ${_v}")
if (_v MATCHES "^\\[\(.+\)\\]$") if (_v MATCHES "^\\[\(.+\)\\]$")
set(_v ${CMAKE_MATCH_1}) set(_v ${CMAKE_MATCH_1})
endif() endif()
message(STATUS "2. _v = ${_v}")
if(USE_POSIX_PACKAGING) if(USE_POSIX_PACKAGING)
string(TOLOWER ${_v} ${_varname}) string(TOLOWER ${_v} ${_varname})
else() else()
@ -354,6 +352,8 @@ endmacro(setstripped)
foreach(_c_l ${_config_lines} ) foreach(_c_l ${_config_lines} )
if(_c_l MATCHES "^AC_INIT\\(\([^,]+\),\([^,]+\), *\\[\([^,]+\)\\] *,\(.*\)") 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(_PB ${CMAKE_MATCH_1})
set(_PV ${CMAKE_MATCH_2}) set(_PV ${CMAKE_MATCH_2})
set(_PBU ${CMAKE_MATCH_3}) set(_PBU ${CMAKE_MATCH_3})