r24351 by craig - Rename hunspell cmake finder to fix warnings

scribus-commit scribus-commit at lists.scribus.net
Tue Dec 22 22:20:36 UTC 2020


Author: craig
Date: Tue Dec 22 22:20:36 2020
New Revision: 24351

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24351
Log:
Rename hunspell cmake finder to fix warnings

Added:
    trunk/Scribus/cmake/modules/Findhunspell.cmake
      - copied, changed from r24350, trunk/Scribus/cmake/modules/FindHUNSPELL.cmake
Modified:
    trunk/Scribus/CMakeLists_Dependencies.cmake
    trunk/Scribus/cmake/modules/FindHUNSPELL.cmake

Modified: trunk/Scribus/CMakeLists_Dependencies.cmake
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24351&path=/trunk/Scribus/CMakeLists_Dependencies.cmake
==============================================================================
--- trunk/Scribus/CMakeLists_Dependencies.cmake	(original)
+++ trunk/Scribus/CMakeLists_Dependencies.cmake	Tue Dec 22 22:20:36 2020
@@ -220,12 +220,12 @@
 #<<HUNSPELL for Spelling support
 option(WANT_HUNSPELL "Enable support for spell checking with hunspell" ON)
 if (WANT_HUNSPELL)
-	find_package(HUNSPELL)
-	if (HUNSPELL_FOUND)
-		message("Hunspell Found OK")
+	find_package(hunspell)
+	if (hunspell_FOUND)
+		message("hunspell Found OK")
 		set(HAVE_HUNSPELL ON)
 	else()
-		message("Hunspell or its developer libraries NOT found - Disabling support for spell checking")
+		message("hunspell or its developer libraries NOT found - Disabling support for spell checking")
 	endif()
 endif()
 #>>HUNSPELL for Spelling support




More information about the scribus-commit mailing list