Mercurial > code
view cmake/FindHunspell.cmake @ 660:913c8ef054d3
options: templatize initializer_list overload
author | David Demelier <markand@malikania.fr> |
---|---|
date | Tue, 16 Jul 2019 20:01:00 +0200 |
parents | 5bd9424a523a |
children |
line wrap: on
line source
# FindHunspell # ------------ # # Find Hunspell library, this modules defines: # # Hunspell_INCLUDE_DIRS, where to find hunspell.hxx # Hunspell_LIBRARIES, where to find library # Hunspell_FOUND, if it is found find_path( Hunspell_INCLUDE_DIR NAMES hunspell.hxx PATH_SUFFIXES hunspell ) find_library(Hunspell_LIBRARY NAMES libhunspell hunspell) include(FindPackageHandleStandardArgs) find_package_handle_standard_args( Hunspell FOUND_VAR Hunspell_FOUND REQUIRED_VARS Hunspell_LIBRARY Hunspell_INCLUDE_DIR ) set(Hunspell_LIBRARIES ${Hunspell_LIBRARY}) set(Hunspell_INCLUDE_DIRS ${Hunspell_INCLUDE_DIR}) mark_as_advanced(Hunspell_INCLUDE_DIR Hunspell_LIBRARY)