summaryrefslogtreecommitdiff
path: root/ivi-layermanagement-examples
diff options
context:
space:
mode:
authorTimo Lotterbach <timo.lotterbach@bmw-carit.de>2014-01-31 12:31:00 +0100
committerTimo Lotterbach <timo.lotterbach@bmw-carit.de>2014-01-31 13:07:00 +0100
commitc09f77106e85cd48478912443d7e4f53665abb6e (patch)
tree5d2bce043576ee6cca42b7e8ef743640742c29d6 /ivi-layermanagement-examples
parent67d9e0c6a91967fecb9da9a236c603a0b6ce59c3 (diff)
downloadwayland-ivi-extension-c09f77106e85cd48478912443d7e4f53665abb6e.tar.gz
replaced wayland/weston findmodules with pkgconfig dependency handling
Signed-off-by: Timo Lotterbach <timo.lotterbach@bmw-carit.de>
Diffstat (limited to 'ivi-layermanagement-examples')
-rw-r--r--ivi-layermanagement-examples/EGLWLMockNavigation/CMakeLists.txt18
1 files changed, 9 insertions, 9 deletions
diff --git a/ivi-layermanagement-examples/EGLWLMockNavigation/CMakeLists.txt b/ivi-layermanagement-examples/EGLWLMockNavigation/CMakeLists.txt
index 7170e9d..3720b88 100644
--- a/ivi-layermanagement-examples/EGLWLMockNavigation/CMakeLists.txt
+++ b/ivi-layermanagement-examples/EGLWLMockNavigation/CMakeLists.txt
@@ -22,15 +22,16 @@ cmake_minimum_required (VERSION 2.6)
project_type(EXAMPLE)
-find_package(GLESv2 REQUIRED)
-find_package(EGL REQUIRED)
-find_package(Wayland REQUIRED)
+find_package(PkgConfig)
+pkg_check_modules(GLESv2 glesv2 REQUIRED)
+pkg_check_modules(EGL egl REQUIRED)
+pkg_check_modules(WAYLAND_EGL wayland-egl REQUIRED)
+pkg_check_modules(WAYLAND_CLIENT wayland-client REQUIRED)
include_directories(
- ${GLESv2_INCLUDE_DIR}
- ${EGL_INCLUDE_DIR}
- ${WAYLAND_CLIENT_INCLUDE_DIR}
- ${FFI_INCLUDE_DIR}
+ ${GLESv2_INCLUDE_DIRS}
+ ${EGL_INCLUDE_DIRS}
+ ${WAYLAND_CLIENT_INCLUDE_DIRS}
"${CMAKE_SOURCE_DIR}/ivi-layermanagement-api/ilmControl/include"
"${CMAKE_SOURCE_DIR}/ivi-layermanagement-api/ilmClient/include"
"${CMAKE_SOURCE_DIR}/ivi-layermanagement-api/ilmCommon/include"
@@ -86,8 +87,7 @@ set(LIBS
${GLESv2_LIBRARIES}
${WAYLAND_CLIENT_LIBRARIES}
${WAYLAND_EGL_LIBRARIES}
- ${FFI_LIBRARIES}
- ${EGL_LIBRARY}
+ ${EGL_LIBRARIES}
LayerManagerUtils
ilmClient
ilmControl