aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindCanberra.cmake
blob: fbbe1fef930cb6c50112eb961075785662d2d1cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
include(PkgConfigWithFallback)
find_pkg_config_with_fallback(Canberra
    PKG_CONFIG_NAME libcanberra
    LIB_NAMES canberra
    INCLUDE_NAMES canberra.h
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Canberra
    REQUIRED_VARS Canberra_LIBRARY)