.: [WK2][EFL] Implementation of spellchecking feature.
[WebKit-https.git] / Source / WebCore / PlatformEfl.cmake
index a68072f..80072fa 100644 (file)
@@ -85,6 +85,7 @@ LIST(APPEND WebCore_SOURCES
   platform/PlatformStrategies.cpp
   platform/posix/FileSystemPOSIX.cpp
   platform/text/efl/TextBreakIteratorInternalICUEfl.cpp
+  platform/text/enchant/TextCheckerEnchant.cpp
 )
 
 IF (ENABLE_BATTERY_STATUS)
@@ -326,3 +327,12 @@ IF (ENABLE_WEB_AUDIO)
   INSTALL(FILES ${WEB_AUDIO_DATA} DESTINATION ${WEB_AUDIO_DIR})
   ADD_DEFINITIONS(-DUNINSTALLED_AUDIO_RESOURCES_DIR="${WEBCORE_DIR}/platform/audio/resources")
 ENDIF ()
+
+IF (ENABLE_SPELLCHECK)
+    LIST(APPEND WebCore_INCLUDE_DIRECTORIES
+        ${ENCHANT_INCLUDE_DIRS}
+    )
+    LIST(APPEND WebCore_LIBRARIES
+        ${ENCHANT_LIBRARIES}
+    )
+ENDIF()