summaryrefslogtreecommitdiff
path: root/cmake
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 /cmake
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 'cmake')
-rw-r--r--cmake/modules/FindWayland.cmake99
-rw-r--r--cmake/modules/FindWeston.cmake40
2 files changed, 0 insertions, 139 deletions
diff --git a/cmake/modules/FindWayland.cmake b/cmake/modules/FindWayland.cmake
deleted file mode 100644
index 5b3ae8b..0000000
--- a/cmake/modules/FindWayland.cmake
+++ /dev/null
@@ -1,99 +0,0 @@
-############################################################################
-#
-# Copyright 2010, 2011 BMW Car IT GmbH
-# Copyright (C) 2011 DENSO CORPORATION and Robert Bosch Car Multimedia Gmbh
-#
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-############################################################################
-
-FIND_PATH(WAYLAND_CLIENT_INCLUDE_DIR /wayland-client.h
-/usr/include /usr/local/include
-)
-
-FIND_LIBRARY(WAYLAND_CLIENT_LIBRARIES
-NAMES wayland-client
-PATHS /usr/lib /usr/local/lib
-)
-
-FIND_PATH(WAYLAND_SERVER_INCLUDE_DIR /wayland-server.h
-/usr/include /usr/local/include
-)
-
-FIND_LIBRARY(WAYLAND_SERVER_LIBRARIES
-NAMES wayland-server
-PATHS /usr/lib /usr/local/lib
-)
-
-FIND_LIBRARY(WAYLAND_EGL_LIBRARIES
-NAMES wayland-egl
-PATHS /usr/lib /usr/local/lib
-)
-
-FIND_PATH(FFI_INCLUDE_DIR /ffi.h
-/usr/include /usr/local/include /usr/include/i386-linux-gnu
-)
-
-FIND_LIBRARY(FFI_LIBRARIES
-NAMES ffi
-PATHS /usr/lib /usr/local/lib
-)
-
-FIND_PATH(XKB_INCLUDE_DIR /xkbcommon.h
-/usr/include/xkbcommon /usr/local/include/xkbcommon
-)
-
-FIND_LIBRARY(XKB_LIBRARIES
-NAMES xkbcommon
-PATHS /usr/lib /usr/local/lib
-)
-
-FIND_PATH(MTDEV_INCLUDE_DIR /mtdev.h
-/usr/include /usr/local/include
-)
-
-FIND_LIBRARY(MTDEV_LIBRARIES
-NAMES mtdev
-PATHS /usr/lib /usr/local/lib
-)
-
-SET( WAYLAND_FOUND "NO" )
-IF(WAYLAND_CLIENT_LIBRARIES AND WAYLAND_SERVER_LIBRARIES)
- SET( WAYLAND_FOUND "YES" )
- message(STATUS "Found Wayland-Client libs: ${WAYLAND_CLIENT_LIBRARIES}")
- message(STATUS "Found Wayland-Client includes: ${WAYLAND_CLIENT_INCLUDE_DIR}")
- message(STATUS "Found Wayland-Server libs: ${WAYLAND_SERVER_LIBRARIES}")
- message(STATUS "Found Wayland-Server includes: ${WAYLAND_SERVER_INCLUDE_DIR}")
- message(STATUS "Found Wayland-Egl libs: ${WAYLAND_EGL_LIBRARIES}")
- message(STATUS "Found ffi need by Wayland libs: ${FFI_LIBRARIES}")
- message(STATUS "Found ffi need by Wayland includes: ${FFI_INCLUDE_DIR}")
- message(STATUS "Found xkbcommon need by Wayland libs: ${XKB_LIBRARIES}")
- message(STATUS "Found xkbcommon need by Wayland includes: ${XKB_INCLUDE_DIR}")
- message(STATUS "Found mtdev need by Wayland libs: ${MTDEV_LIBRARIES}")
- message(STATUS "Found mtdev need by Wayland includes: ${MTDEV_INCLUDE_DIR}")
-ENDIF(WAYLAND_CLIENT_LIBRARIES AND WAYLAND_SERVER_LIBRARIES)
-
-MARK_AS_ADVANCED(
- WAYLAND_CLIENT_INCLUDE_DIR
- WAYLAND_CLIENT_LIBRARIES
- WAYLAND_SERVER_INCLUDE_DIR
- WAYLAND_SERVER_LIBRARIES
- WAYLAND_EGL_LIBRARIES
- FFI_INCLUDE_DIR
- FFI_LIBRARIES
- XKB_LIBRARIES
- XKB_INCLUDE_DIR
- MTDEV_LIBRARIES
- MTDEV_INCLUDE_DIR
-)
diff --git a/cmake/modules/FindWeston.cmake b/cmake/modules/FindWeston.cmake
deleted file mode 100644
index 4ff8f5d..0000000
--- a/cmake/modules/FindWeston.cmake
+++ /dev/null
@@ -1,40 +0,0 @@
-############################################################################
-#
-# Copyright (C) 2013 DENSO CORPORATION
-#
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-############################################################################
-
-FIND_PATH(WESTON_INCLUDE_DIR compositor.h
-/usr/include/weston
-/include/weston
-)
-
-FIND_LIBRARY(WESTON_LIBRARIES
-NAMES weston-layout
-PATHS /lib/weston
-)
-
-SET( WESTON_FOUND "NO" )
-IF(WESTON_INCLUDE_DIR AND WESTON_LIBRARIES)
- SET( WESTON_FOUND "YES" )
- message(STATUS "Found weston includes: ${WESTON_INCLUDE_DIR}")
- message(STATUS "Found weston libs: ${WESTON_LIBRARIES}")
-ENDIF(WESTON_INCLUDE_DIR AND WESTON_LIBRARIES)
-
-MARK_AS_ADVANCED(
- WESTON_INCLUDE_DIR
- WESTON_LIBRARIES
-)