[Bf-blender-cvs] [aa141c5c4f3] wl_default2: test wlp version check
Christian Rauch
noreply at git.blender.org
Sat Jul 3 15:38:54 CEST 2021
Commit: aa141c5c4f3b3ff0210a0e9ddb1a6a3cb8cd5e26
Author: Christian Rauch
Date: Sat Jul 3 14:38:46 2021 +0100
Branches: wl_default2
https://developer.blender.org/rBaa141c5c4f3b3ff0210a0e9ddb1a6a3cb8cd5e26
test wlp version check
===================================================================
M intern/ghost/CMakeLists.txt
===================================================================
diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt
index 851383c9629..f00a365acf9 100644
--- a/intern/ghost/CMakeLists.txt
+++ b/intern/ghost/CMakeLists.txt
@@ -298,6 +298,16 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND)
pkg_check_modules(wayland-protocols wayland-protocols>=1.15)
message("wlp found: " ${wayland-protocols_FOUND})
message("wlp version: " ${wayland-protocols_VERSION})
+ if (${wayland-protocols_FOUND})
+ if (${wayland-protocols_VERSION} VERSION_GREATER_EQUAL "1.15")
+ message("wlp version match")
+ else()
+ message("wlp version NOT match")
+ endif()
+ else()
+ message("wlp NOT found")
+ endif()
+
if (NOT DEFINED wayland-protocols_FOUND)
message("wlp mssing")
endif()
More information about the Bf-blender-cvs
mailing list