ilmControl: control_thread variables are const
[profile/ivi/wayland-ivi-extension.git] / weston-ivi-shell / CMakeLists.txt
index 4cf9295..c1d08da 100644 (file)
@@ -37,6 +37,15 @@ include_directories(
     ${CAIRO_INCLUDE_DIRS}
     ${WESTON_INCLUDE_DIRS}
     ${PIXMAN_INCLUDE_DIRS}
+    ${WESTON_INCLUDE_DIRS}/weston
+)
+
+link_directories(
+    ${WAYLAND_SERVER_LIBRARY_DIRS}
+    ${CAIRO_LIBRARY_DIRS}
+    ${WESTON_LIBRARY_DIRS}
+    ${PIXMAN_LIBRARY_DIRS}
+    ${WESTON_LIBDIR}/weston
 )
 
 
@@ -62,6 +71,8 @@ set(LIBS
     ${WESTON_LIBRARIES}
 )
 
+set(CMAKE_C_LDFLAGS "-module -avoid-version")
+
 target_link_libraries(${PROJECT_NAME} ${LIBS})
 
 install (