You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

8 lines
363 B

  1. macro(check_find_package_result _VAR _PKGNAME)
  2. if(${_VAR})
  3. message(STATUS "Check for installed ${_PKGNAME} -- found")
  4. else(${_VAR})
  5. message(STATUS "Check for installed ${_PKGNAME} -- not found")
  6. message(FATAL_ERROR "${_PKGNAME} was not found - it is required to build Kicad")
  7. endif(${_VAR})
  8. endmacro(check_find_package_result)