X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=development%2Fcmake%2Fmodules%2FFindHunspell.cmake;h=ae63f49f780c16a827c99c1957f38c9e018ff7b7;hb=6461d6aa1b01a97814020020e260c34c117a2631;hp=36a7c68a5744144cc2a1c0150c728d6d03ddd3ea;hpb=f2e437f6b823574170f0bafd8738dcb3c72b5e14;p=lyx.git diff --git a/development/cmake/modules/FindHunspell.cmake b/development/cmake/modules/FindHunspell.cmake index 36a7c68a57..ae63f49f78 100644 --- a/development/cmake/modules/FindHunspell.cmake +++ b/development/cmake/modules/FindHunspell.cmake @@ -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)