[LyX/2.3.x] Cmake build: Remove left-over files left after cherry-pick

Kornel Benko kornel at lyx.org
Sat Feb 15 08:51:00 UTC 2020


commit cad0ec3e5477df6e9bfefe582b48422bb038ad39
Author: Kornel Benko <kornel at lyx.org>
Date:   Sat Feb 15 10:06:42 2020 +0100

    Cmake build: Remove left-over files left after cherry-pick
---
 development/cmake/modules/FindEnchant.cmake  |   22 ----------------------
 development/cmake/modules/FindHunspell.cmake |   15 ---------------
 2 files changed, 0 insertions(+), 37 deletions(-)

diff --git a/development/cmake/modules/FindEnchant.cmake b/development/cmake/modules/FindEnchant.cmake
deleted file mode 100644
index d7548a8..0000000
--- a/development/cmake/modules/FindEnchant.cmake
+++ /dev/null
@@ -1,22 +0,0 @@
-if(WIN32)
-	find_library(ENCHANT_LIBRARY "libenchant")
-	find_path(ENCHANT_INCLUDE_DIR "enchant++.h")
-else()
-  find_library(ENCHANT_LIBRARY "enchant"  
-	"/usr/local/lib" 
-	${SYSTEM_LIB_DIRS}
-	"/opt/local/lib")
-  find_path(ENCHANT_INCLUDE_DIR "enchant++.h" PATHS 
-		/usr/local/include
-		/usr/local/include/enchant
-		/usr/include
-		/usr/include/enchant
-		/opt/local/include/enchant)
-endif()
-
-# handle the QUIETLY and REQUIRED arguments and
-# set ENCHANT_FOUND to TRUE if all listed variables are TRUE
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(ENCHANT DEFAULT_MSG ENCHANT_LIBRARY ENCHANT_INCLUDE_DIR)
-
-mark_as_advanced(ENCHANT_LIBRARY ENCHANT_INCLUDE_DIR)
diff --git a/development/cmake/modules/FindHunspell.cmake b/development/cmake/modules/FindHunspell.cmake
deleted file mode 100644
index ae63f49..0000000
--- a/development/cmake/modules/FindHunspell.cmake
+++ /dev/null
@@ -1,15 +0,0 @@
-
-if(WIN32)
-  find_library(HUNSPELL_LIBRARY "libhunspell")
-else()
-  find_library(HUNSPELL_LIBRARY NAMES "hunspell" "hunspell-1.2" PATHS "/usr/local/lib" ${SYSTEM_LIB_DIRS} "/usr/lib64")
-endif()
-
-FIND_PATH(HUNSPELL_INCLUDE_DIR "hunspell/hunspell.hxx")
-
-# handle the QUIETLY and REQUIRED arguments and
-# set HUNSPELL_FOUND to TRUE if all listed variables are TRUE
-include(FindPackageHandleStandardArgs)
-find_package_handle_standard_args(HUNSPELL DEFAULT_MSG HUNSPELL_LIBRARY HUNSPELL_INCLUDE_DIR)
-
-mark_as_advanced(HUNSPELL_LIBRARY HUNSPELL_INCLUDE_DIR)


More information about the lyx-cvs mailing list