From 25397af04a047c392cfa8f726fb6c21570e14a31 Mon Sep 17 00:00:00 2001 From: Florent Pruvost <florent.pruvost@inria.fr> Date: Tue, 21 Nov 2017 16:04:12 +0100 Subject: [PATCH] display cmake lists with dependencies when exist --- modules/find/tests/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/find/tests/CMakeLists.txt b/modules/find/tests/CMakeLists.txt index edb3ae8..789aefe 100644 --- a/modules/find/tests/CMakeLists.txt +++ b/modules/find/tests/CMakeLists.txt @@ -35,16 +35,25 @@ foreach(_library ${PACKAGES}) else() message(WARNING "${_library}_LIBRARIES not found: ${${_library}_LIBRARIES}") endif() + if (${_library}_LIBRARIES_DEP) + message(STATUS "${_library}_LIBRARIES_DEP found: ${${_library}_LIBRARIES_DEP}") + endif() if (${_library}_LIBRARY_DIRS) message(STATUS "${_library}_LIBRARY_DIRS found: ${${_library}_LIBRARY_DIRS}") else() message(WARNING "${_library}_LIBRARY_DIRS not found: ${${_library}_LIBRARY_DIRS}") endif() + if (${_library}_LIBRARY_DIRS_DEP) + message(STATUS "${_library}_LIBRARY_DIRS_DEP found: ${${_library}_LIBRARY_DIRS_DEP}") + endif() if (${_library}_INCLUDE_DIRS) message(STATUS "${_library}_INCLUDE_DIRS found: ${${_library}_INCLUDE_DIRS}") else() message(WARNING "${_library}_INCLUDE_DIRS not found: ${${_library}_INCLUDE_DIRS}") endif() + if (${_library}_INCLUDE_DIRS_DEP) + message(STATUS "${_library}_INCLUDE_DIRS_DEP found: ${${_library}_INCLUDE_DIRS_DEP}") + endif() else() message(FATAL_ERROR "${_library} NOT FOUND !!") endif() -- GitLab