[Bf-blender-cvs] [1d16fa46e55] wl_default5: check WAYLAND_PROTOCOLS_DIR

Christian Rauch noreply at git.blender.org
Sat Jul 3 16:25:41 CEST 2021


Commit: 1d16fa46e5546d5c630f431e8e47b7b327d95f55
Author: Christian Rauch
Date:   Sat Jul 3 15:24:54 2021 +0100
Branches: wl_default5
https://developer.blender.org/rB1d16fa46e5546d5c630f431e8e47b7b327d95f55

check WAYLAND_PROTOCOLS_DIR

===================================================================

M	intern/ghost/CMakeLists.txt

===================================================================

diff --git a/intern/ghost/CMakeLists.txt b/intern/ghost/CMakeLists.txt
index 98038ef837e..04d3c75b2c3 100644
--- a/intern/ghost/CMakeLists.txt
+++ b/intern/ghost/CMakeLists.txt
@@ -321,7 +321,7 @@ elseif(WITH_GHOST_X11 OR WITH_GHOST_WAYLAND)
       message("wlp manual found: " ${WAYLAND_PROTOCOLS_DIR})
     endif()
 
-    if (NOT DEFINED WAYLAND_PROTOCOLS_DIR)
+    if (NOT ${WAYLAND_PROTOCOLS_DIR})
       message(FATAL_ERROR "path to wayland-protocols not found")
     endif()



More information about the Bf-blender-cvs mailing list