aboutsummaryrefslogtreecommitdiff
path: root/cmake/FindGspell.cmake
blob: 51c33c7e5e0e41a8a6cd35e2e41ee6f565041e3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
include(PkgConfigWithFallback)
find_pkg_config_with_fallback(Gspell
    PKG_CONFIG_NAME gspell-1
    LIB_NAMES gspell-1
    INCLUDE_NAMES gspell.h
    INCLUDE_DIR_SUFFIXES gspell-1 gspell-1/gspell
    DEPENDS Gtk
)

include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Gspell
    REQUIRED_VARS Gspell_LIBRARY
    VERSION_VAR Gspell_VERSION)