Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/Remmina/Remmina.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntenore Gatta <antenore@simbiosi.org>2021-03-04 13:07:01 +0300
committerAntenore Gatta <antenore@simbiosi.org>2021-03-04 13:07:01 +0300
commit14d925c139f99676d8662224e228d71d08328b4d (patch)
treef50a8d4f2ca145cf4498aa0b6cbae9891643016c /CMakeLists.txt
parent9945363202c92cf749ef6fd17f25b758e10d3f78 (diff)
Adding wayland include dirs
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a64b8a7e8..939ce9b71 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -366,9 +366,11 @@ endif(NOT GTK3_FOUND)
include_directories(${GTK3_INCLUDE_DIRS})
pkg_check_modules(wayland-client REQUIRED wayland-client)
-pkg_check_modules(wayland-cursor REQUIRED wayland-cursor)
-pkg_check_modules(wayland-egl REQUIRED wayland-egl)
-include_directories(${wayland-client_INCLUDE_DIR})
+if(NOT wayland-client_FOUND)
+ message(FATAL_ERROR "Wayland library not found")
+endif(NOT wayland-client_FOUND)
+
+include_directories(${wayland-client_INCLUDE_DIRS})
set(GTK_LIBRARIES
${GTK3_LIBRARY}
@@ -382,8 +384,6 @@ set(GTK_LIBRARIES
${Gmodule_LIBRARIES}
${GMODULE_LIBRARY}
${wayland-client_LIBRARIES}
- ${wayland-cursor_LIBRARIES}
- ${wayland-egl_LIBRARIES}
)