summaryrefslogtreecommitdiff
path: root/cmake/modules/FindWayland.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindWayland.cmake')
-rw-r--r--cmake/modules/FindWayland.cmake99
1 files changed, 0 insertions, 99 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
-)