Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitkFunctionCheckPackageHeader.cmake
Go to the documentation of this file.
1 function(mitkFunctionCheckPackageHeader _header _provider)
2  find_file(${_header}_FILE ${_header} ${ARGN})
3  mark_as_advanced(${_header}_FILE)
4  if(NOT ${_header}_FILE)
5  message(FATAL_ERROR "Could not find ${_header} provided by ${_provider}. Please install the missing package.")
6  endif()
7 endfunction()
mitkFunctionCheckPackageHeader(_header, _provider)