]> git.lyx.org Git - lyx.git/blobdiff - CMakeLists.txt
Support for conference posters
[lyx.git] / CMakeLists.txt
index 3bc92280f45e75e80f76fcc0db803e45a7ef9c6c..c626bf4251e576d57ae28cb82c84aaa1855334f9 100644 (file)
@@ -118,6 +118,7 @@ LYX_OPTION(QUIET            "Don't generate verbose makefiles" OFF ALL)
 LYX_OPTION(INSTALL_PREFIX   "Install path for LyX" OFF ALL)
 LYX_OPTION(BUNDLE           "Build bundle  (experimental) " OFF ALL)
 LYX_OPTION(ENABLE_URLTESTS  "Enable for URL tests" OFF ALL)
+LYX_OPTION(ENABLE_EXPORT_TESTS "Enable for export tests" OFF ALL)
 
 # GCC specific
 LYX_OPTION(PROFILE              "Build profile version" OFF GCC)
@@ -866,13 +867,15 @@ if(LYX_NLS)
        message(STATUS)
 endif()
 
-if(NOT Spelling_FOUND)
+# Apple has builtin native spell checker,
+# no need to warn for missing Aspell, Hunspell or Enchant
+if(NOT Spelling_FOUND AND NOT APPLE)
   if(LYX_REQUIRE_SPELLCHECK)
     set(_mode "FATAL_ERROR")
   else()
     set(_mode "STATUS")
   endif()
-  message(${_mode} "No spellcheck libraries found. Lyx will be unable use spellchecking")
+  message(${_mode} "No spellcheck libraries found. LyX will be unable use spellchecking")
 endif()
 
 include("${TOP_CMAKE_PATH}/LyxPackaging.cmake")