Fixing network logging build
[platform/core/uifw/dali-adaptor.git] / build / tizen / profiles / ubuntu-profile.cmake
index 94496ec..26abe3e 100644 (file)
@@ -6,6 +6,7 @@ SET( SOURCES
         ${adaptor_accessibility_ubuntu_src_files}
         ${adaptor_adaptor_common_src_files}
         ${adaptor_adaptor_ubuntu_src_files}
+        ${adaptor_canvas_renderer_ubuntu_src_files}
         ${adaptor_clipboard_common_src_files}
         ${adaptor_clipboard_ubuntu_x11_src_files}
         ${adaptor_framework_generic_src_files}
@@ -36,6 +37,7 @@ SET( SOURCES
         ${adaptor_vector_animation_common_src_files}
         ${adaptor_vector_image_common_src_files}
         ${adaptor_video_common_src_files}
+        ${adaptor_camera_common_src_files}
         ${adaptor_web_engine_common_src_files}
         ${adaptor_window_system_common_src_files}
         ${adaptor_trace_common_src_files}
@@ -145,4 +147,25 @@ SET(REQUIRED_LIBS ${ECORE_LDFLAGS}
   -lpthread
   -lturbojpeg
   -ljpeg
+  -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()
+