ilmControl: control_thread variables are const
[profile/ivi/wayland-ivi-extension.git] / weston-ivi-shell / CMakeLists.txt
index 506de55..c1d08da 100644 (file)
@@ -37,6 +37,7 @@ include_directories(
     ${CAIRO_INCLUDE_DIRS}
     ${WESTON_INCLUDE_DIRS}
     ${PIXMAN_INCLUDE_DIRS}
+    ${WESTON_INCLUDE_DIRS}/weston
 )
 
 link_directories(
@@ -56,7 +57,6 @@ set_target_properties(${PROJECT_NAME} PROPERTIES PREFIX "")
 
 add_dependencies(${PROJECT_NAME}
     ivi-extension-protocol
-    weston-layout
     ${WAYLAND_SERVER_LIBRARIES}
     ${CAIRO_LIBRARIES}
     ${PIXMAN_LIBRARIES}
@@ -66,12 +66,13 @@ add_dependencies(${PROJECT_NAME}
 set(LIBS
     ${LIBS}
     ivi-extension-protocol
-    weston-layout
     ${WAYLAND_SERVER_LIBRARIES}
     ${CAIRO_LIBRARIES}
     ${WESTON_LIBRARIES}
 )
 
+set(CMAKE_C_LDFLAGS "-module -avoid-version")
+
 target_link_libraries(${PROJECT_NAME} ${LIBS})
 
 install (