Fixing network logging build
[platform/core/uifw/dali-adaptor.git] / build / tizen / profiles / tv-profile.cmake
old mode 100755 (executable)
new mode 100644 (file)
index 19812ff..5f8e8e1
@@ -7,6 +7,7 @@ SET( SOURCES
     ${adaptor_accessibility_tizen_tv_src_files}
     ${adaptor_adaptor_common_src_files}
     ${adaptor_adaptor_tizen_wayland_src_files}
+    ${adaptor_canvas_renderer_tizen_src_files}
     ${adaptor_clipboard_common_src_files}
     ${adaptor_clipboard_tizen_wayland_src_files}
     ${adaptor_framework_generic_src_files}
@@ -78,3 +79,26 @@ IF( COMPONENT_APPLICATION_SUPPORT )
       )
 ENDIF()
 
+# Set the linker flags
+SET(REQUIRED_LIBS
+  -lhyphen
+)
+
+FIND_LIBRARY( HYPHEN_LIBRARY NAMES hyphen )
+IF (${HYPHEN_LIBRARY} MATCHES "HYPHEN_LIBRARY-NOTFOUND")
+  UNSET (HYPHEN_LIBRARY_AVAILABLE)
+ELSE()
+  SET (HYPHEN_LIBRARY_AVAILABLE "HYPHEN_LIBRARY_AVAILABLE")
+  ADD_DEFINITIONS(-DHYPHEN_LIBRARY_AVAILABLE="${HYPHEN_LIBRARY_AVAILABLE}")
+
+  #The path of hyphen library dictionary
+  IF (NOT "${HYPHEN_DIC}")
+  FIND_PATH(HYPHEN_DIC hyph_en_US.dic HINTS "/usr/local/share/hyphen" "/usr/share/hyphen" )
+  IF ( NOT HYPHEN_DIC MATCHES  "HYPHEN_DIC-NOTFOUND")
+    ADD_DEFINITIONS(-DHYPHEN_DIC="${HYPHEN_DIC}")
+  ENDIF()
+  ENDIF()
+  MESSAGE (HYPHEN_DIC: "${HYPHEN_DIC}")
+
+ENDIF()
+