FindwxWidgets.cmake: Show line number in debug output

This commit is contained in:
Simon Richter 2016-02-15 18:50:48 +01:00
parent 9ff394e72a
commit 38359272c4
1 changed files with 4 additions and 2 deletions

View File

@ -150,10 +150,12 @@
# Helper macro to control the debugging output globally. There are
# two versions for controlling how verbose your output should be.
macro(DBG_MSG _MSG)
# message(STATUS "${_MSG}")
# message(STATUS
# "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${_MSG}")
endmacro()
macro(DBG_MSG_V _MSG)
# message(STATUS "${_MSG}")
# message(STATUS
# "${CMAKE_CURRENT_LIST_FILE}(${CMAKE_CURRENT_LIST_LINE}): ${_MSG}")
endmacro()
# Clear return values in case the module is loaded more than once.