diff options
author | João Valverde <joao.valverde@tecnico.ulisboa.pt> | 2019-01-12 21:39:38 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2019-01-13 07:15:40 +0000 |
commit | 833bd4581233fe319453d69df6fa879fe723c892 (patch) | |
tree | 0859fad79c06173acf3457df87da0f9dd34595a6 | |
parent | 651a146667049dbe790858caddb55ae02e66b1d3 (diff) |
CMake: Don't go on about "custom files"
For each call of add_custom_cmake_include() CMake prints
STATUS "No custom file found in <full_path>".
This is noisy, not to mention confusing.
Print output only if a custom include is found, be silent otherwise.
Change-Id: If603d206486354993ebac8e4c61f6876a26223d3
Reviewed-on: https://code.wireshark.org/review/31517
Petri-Dish: João Valverde <j@v6e.pt>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | cmake/modules/UseCustomIncludes.cmake | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cmake/modules/UseCustomIncludes.cmake b/cmake/modules/UseCustomIncludes.cmake index 15e93f7043..be01303e14 100644 --- a/cmake/modules/UseCustomIncludes.cmake +++ b/cmake/modules/UseCustomIncludes.cmake @@ -11,10 +11,8 @@ macro( ADD_CUSTOM_CMAKE_INCLUDE ) foreach (_include ${_file_list}) set( _include_file ${CMAKE_CURRENT_SOURCE_DIR}/${_include} ) if( EXISTS ${_include_file} ) - message ( STATUS "Including ${_include_file}" ) + message ( STATUS "Custom file found, including: ${_include_file}" ) include( ${_include_file} ) - else() - message ( STATUS "No custom file found in ${CMAKE_CURRENT_SOURCE_DIR}" ) endif() endforeach() endmacro() |