From: Scott Murray Date: Tue, 23 Apr 2019 13:15:27 +0000 (-0400) Subject: Fix compilation against newer Wayland IVI extension X-Git-Tag: 7.99.1^0 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F32%2F21132%2F1;p=apps%2Fagl-cluster-demo-receiver.git Fix compilation against newer Wayland IVI extension The ilm_init function has moved to the new libilmCommon library in Wayland IVI extension 2.x, so switch to using the ilmCommon package config in the application CMakeLists.txt. ilmCommon has a dependency on ilmControl, so that still gets pulled in. Change-Id: Id9cefd7cb1ceec826d44011d91ad1f196e7e19b2 Signed-off-by: Scott Murray --- diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index 7fef810..229e961 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -31,10 +31,10 @@ add_executable(${TARGET_NAME} ) pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.0) -pkg_check_modules(ILMCONTROL REQUIRED ilmControl) +pkg_check_modules(ILMCOMMON REQUIRED ilmCommon) include_directories( - "${ILMCONTROL_INCLUDE_DIRS}" + "${ILMCOMMON_INCLUDE_DIRS}" "${GSTREAMER_INCLUDE_DIRS}" ) @@ -50,5 +50,5 @@ set_target_properties(${TARGET_NAME} PROPERTIES target_link_libraries(${TARGET_NAME} windowmanager ${GSTREAMER_LIBRARIES} - ${ILMCONTROL_LIBRARIES} + ${ILMCOMMON_LIBRARIES} )