• f3nix's avatar
    CMake: · 75bba55a
    f3nix authored
    * Move svn version header creation to a macro (Unix-only for now).
    * Use CVS version of FindSubversion macro.
    75bba55a
CheckFindPackageResult.cmake 363 Bytes
macro(check_find_package_result _VAR _PKGNAME)
    if(${_VAR})
        message(STATUS "Check for installed ${_PKGNAME} -- found")
    else(${_VAR})
        message(STATUS "Check for installed ${_PKGNAME} -- not found")
        message(FATAL_ERROR "${_PKGNAME} was not found - it is required to build Kicad")
    endif(${_VAR})
endmacro(check_find_package_result)