]> git.lyx.org Git - lyx.git/blobdiff - development/cmake/modules/FindHunspell.cmake
Update translation of Listings by Jari-Matti Mäkelä
[lyx.git] / development / cmake / modules / FindHunspell.cmake
index 36a7c68a5744144cc2a1c0150c728d6d03ddd3ea..ae63f49f780c16a827c99c1957f38c9e018ff7b7 100644 (file)
@@ -7,14 +7,9 @@ endif()
 
 FIND_PATH(HUNSPELL_INCLUDE_DIR "hunspell/hunspell.hxx")
 
-
-# handle the QUIETLY and REQUIRED arguments and 
+# 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)
 
-if(HUNSPELL_FIND_REQUIRED AND NOT HUNSPELL_FOUND)
-       message(FATAL_ERROR "Could not find Hunspell library")
-endif()
-
 mark_as_advanced(HUNSPELL_LIBRARY HUNSPELL_INCLUDE_DIR)