anotherim-desktop/cmake/FindGspell.cmake

15 lines
363 B
CMake
Raw Permalink Normal View History

2018-03-22 15:10:52 +00:00
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
2022-02-14 13:55:59 +00:00
DEPENDS GTK3
2018-03-22 15:10:52 +00:00
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Gspell
REQUIRED_VARS Gspell_LIBRARY
VERSION_VAR Gspell_VERSION)