]> git.lyx.org Git - lyx.git/commitdiff
Remove AppleSpellChecker.* from non-apple platform
authorKornel Benko <kornel@lyx.org>
Wed, 7 Jul 2010 21:13:39 +0000 (21:13 +0000)
committerKornel Benko <kornel@lyx.org>
Wed, 7 Jul 2010 21:13:39 +0000 (21:13 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@34802 a592a061-630c-0410-9148-cb99ea01b6c8

development/cmake/src/CMakeLists.txt

index a2fb362fd0e2e965ff216f005dd7c9ac49e259a4..b19f21ab19f7fa690838577d6c54b1c09143afdc 100644 (file)
@@ -32,6 +32,13 @@ list(REMOVE_ITEM lyx_sources
        ${TOP_SRC_DIR}/src/Section.cpp
        ${TOP_SRC_DIR}/src/lyxcore.cpp)
 
+if(NOT APPLE)
+  list(REMOVE_ITEM lyx_sources
+    ${TOP_SRC_DIR}/src/AppleSpellChecker.cpp)
+   list(REMOVE_ITEM lyx_headers
+    ${TOP_SRC_DIR}/src/AppleSpellChecker.h)
+endif()
+
 list(REMOVE_ITEM lyx_headers
        ${TOP_SRC_DIR}/src/EnchantChecker.h
        ${TOP_SRC_DIR}/src/AspellChecker.h