Fix compilation against newer Wayland IVI extension 32/21132/1 7.99.1 halibut/7.99.1 halibut_7.99.1
authorScott Murray <scott.murray@konsulko.com>
Tue, 23 Apr 2019 13:15:27 +0000 (09:15 -0400)
committerScott Murray <scott.murray@konsulko.com>
Tue, 23 Apr 2019 13:19:37 +0000 (09:19 -0400)
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 <scott.murray@konsulko.com>
app/CMakeLists.txt

index 7fef810..229e961 100644 (file)
@@ -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}
 )