diff options
| author | Christophe Giboudeaux <christophe@krop.fr> | 2021-03-29 20:28:58 +0200 |
|---|---|---|
| committer | Christophe Giboudeaux <christophe@krop.fr> | 2021-04-06 19:59:17 +0000 |
| commit | 272352969834598cfd20f3e8b15916aa3ccebbbb (patch) | |
| tree | d0d831203f0816ee2d4edecb526cdbdec64ea3d4 /attic/modules/FindENCHANT.cmake | |
| parent | d88db6a1469bdcb48e64f265d35a6f7867767b54 (diff) | |
| download | extra-cmake-modules-272352969834598cfd20f3e8b15916aa3ccebbbb.tar.gz extra-cmake-modules-272352969834598cfd20f3e8b15916aa3ccebbbb.tar.bz2 | |
Clean ECM's attic
Diffstat (limited to 'attic/modules/FindENCHANT.cmake')
| -rw-r--r-- | attic/modules/FindENCHANT.cmake | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/attic/modules/FindENCHANT.cmake b/attic/modules/FindENCHANT.cmake deleted file mode 100644 index 9c13c488..00000000 --- a/attic/modules/FindENCHANT.cmake +++ /dev/null @@ -1,44 +0,0 @@ -# - Try to find the Enchant spell checker -# Once done this will define -# -# ENCHANT_FOUND - system has ENCHANT -# ENCHANT_INCLUDE_DIR - the ENCHANT include directory -# ENCHANT_LIBRARIES - Link these to use ENCHANT -# ENCHANT_DEFINITIONS - Compiler switches required for using ENCHANT - -# Copyright (c) 2006, Zack Rusin, <zack@kde.org> -# -# Redistribution and use is allowed according to the terms of the BSD license. -# For details see the accompanying COPYING-CMAKE-SCRIPTS file. - - -if (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES) - - # in cache already - set(ENCHANT_FOUND TRUE) - -else (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES) - if (NOT WIN32) - # use pkg-config to get the directories and then use these values - # in the FIND_PATH() and FIND_LIBRARY() calls - find_package(PkgConfig) - pkg_check_modules(PC_ENCHANT QUIET enchant) - set(ENCHANT_DEFINITIONS ${PC_ENCHANT_CFLAGS_OTHER}) - endif (NOT WIN32) - - find_path(ENCHANT_INCLUDE_DIR - NAMES enchant++.h - HINTS ${PC_ENCHANT_INCLUDEDIR} - ${PC_ENCHANT_INCLUDE_DIRS} - PATH_SUFFIXES enchant ) - - find_library(ENCHANT_LIBRARIES NAMES enchant - HINTS ${PC_ENCHANT_LIBDIR} - ${PC_ENCHANT_LIBRARY_DIRS} ) - - include(FindPackageHandleStandardArgs) - find_package_handle_standard_args(ENCHANT DEFAULT_MSG ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES ) - - mark_as_advanced(ENCHANT_INCLUDE_DIR ENCHANT_LIBRARIES) - -endif (ENCHANT_INCLUDE_DIR AND ENCHANT_LIBRARIES) |
