diff options
-rw-r--r-- | modules/kde4automoc.cmake | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/kde4automoc.cmake b/modules/kde4automoc.cmake index d57f760d..718a47a4 100644 --- a/modules/kde4automoc.cmake +++ b/modules/kde4automoc.cmake @@ -76,7 +76,9 @@ foreach(_filename ${MOC_FILES}) set(_current_MOC "moc_${_basename}.cpp") generate_moc(${_filename} ${_current_MOC}) else (".h" STREQUAL "${_suffix}" OR ".hpp" STREQUAL "${_suffix}" OR ".hxx" STREQUAL "${_suffix}" OR ".H" STREQUAL "${_suffix}") - message(STATUS "Automoc: ignoring file '${_filename}' with unknown suffix '${_suffix}'") + if($ENV{VERBOSE}) + message(STATUS "Automoc: ignoring file '${_filename}' with unknown suffix '${_suffix}'") + endif($ENV{VERBOSE}) endif (".h" STREQUAL "${_suffix}" OR ".hpp" STREQUAL "${_suffix}" OR ".hxx" STREQUAL "${_suffix}" OR ".H" STREQUAL "${_suffix}") endif (".cpp" STREQUAL "${_suffix}" OR ".cc" STREQUAL "${_suffix}" OR ".cxx" STREQUAL "${_suffix}" OR ".C" STREQUAL "${_suffix}") endif ("${_filename}" IS_NEWER_THAN "${MARK_FILE}" OR "${_moc_source}" IS_NEWER_THAN "${MARK_FILE}") |