2 find_library(ENCHANT_LIBRARY "libenchant")
3 find_path(ENCHANT_INCLUDE_DIR "enchant++.h")
5 find_library(ENCHANT_LIBRARY "enchant"
9 find_path(ENCHANT_INCLUDE_DIR "enchant++.h" PATHS
11 /usr/local/include/enchant
14 /opt/local/include/enchant)
17 # handle the QUIETLY and REQUIRED arguments and
18 # set ENCHANT_FOUND to TRUE if all listed variables are TRUE
19 include(FindPackageHandleStandardArgs)
20 find_package_handle_standard_args(ENCHANT DEFAULT_MSG ENCHANT_LIBRARY ENCHANT_INCLUDE_DIR)
22 mark_as_advanced(ENCHANT_LIBRARY ENCHANT_INCLUDE_DIR)