Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 25397af0 authored by PRUVOST Florent's avatar PRUVOST Florent
Browse files

display cmake lists with dependencies when exist

parent 9e76c8dc
No related branches found
No related tags found
No related merge requests found
......@@ -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()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment