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