r23406 by craig - #15980: Update Hunspell finder

scribus-commit scribus-commit at lists.scribus.net
Sun Dec 8 17:01:50 UTC 2019


Author: craig
Date: Sun Dec  8 17:01:50 2019
New Revision: 23406

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23406
Log:
#15980: Update Hunspell finder

Modified:
    trunk/Scribus/cmake/modules/FindHUNSPELL.cmake

Modified: trunk/Scribus/cmake/modules/FindHUNSPELL.cmake
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23406&path=/trunk/Scribus/cmake/modules/FindHUNSPELL.cmake
==============================================================================
--- trunk/Scribus/cmake/modules/FindHUNSPELL.cmake	(original)
+++ trunk/Scribus/cmake/modules/FindHUNSPELL.cmake	Sun Dec  8 17:01:50 2019
@@ -13,14 +13,14 @@
 
 find_path(HUNSPELL
   NAMES hunspell.h
-  PATHS ${PKG_HUNSPELL_INCLUDE_DIRS} ${HUNSPELL_INCLUDE_DIRS} /usr/local/include /usr/include
+  PATHS ${PKG_HUNSPELL_INCLUDE_DIRS} ${HUNSPELL_INCLUDE_DIRS}
   PATH_SUFFIXES hunspell
   NO_DEFAULT_PATH
 )
 
 find_library(HUNSPELL_LIBRARIES
   NAMES libhunspell
-  PATHS ${PKG_HUNSPELL_LIBRARIES} ${HUNSPELL_LIBRARY_DIRS} /usr/local/lib /usr/lib
+  PATHS ${PKG_HUNSPELL_LIBRARIES} ${HUNSPELL_LIBRARY_DIRS}
   NO_DEFAULT_PATH
 )
 
@@ -29,7 +29,7 @@
 if(CMAKE_MATCH_1 GREATER 4)
 	set(HUNSPELL_NEWAPI ON)
 	message(STATUS "New HUNSPELL API found. Hunspell version ${HUNSPELL_VERSION}")
-	message(STATUS "HUNSPELL INCLUDE ${HUNSPELL_INCLUDE_DIR}")
+	message(STATUS "HUNSPELL INCLUDE ${HUNSPELL_INCLUDE_DIRS}")
 	message(STATUS "HUNSPELL LIBRARIES ${HUNSPELL_LIBRARIES}")
 endif()
 




More information about the scribus-commit mailing list