]> git.lyx.org Git - lyx.git/blobdiff - CMakeLists.txt
More flexible definition of Qt libraries to include as frameworks for macOS
[lyx.git] / CMakeLists.txt
index 6976776a291e28e83b5ec3177c9807de23409012..a1a8cacee2ee93cd49a8fd4d8054027d2c324f48 100644 (file)
@@ -782,7 +782,7 @@ if(NOT LYX_EXTERNAL_HUNSPELL)
     message(STATUS "     - library: ${HUNSPELL_LIBRARY}")
 endif()
 
-foreach(_spell "ASPELL" "Enchant" "Hunspell")
+foreach(_spell "ASPELL" "ENCHANT" "HUNSPELL")
   string(TOUPPER ${_spell} _upspell)
   if (NOT ${_upspell}_FOUND)
     find_package(${_spell})