[Bf-blender-cvs] [74187220e06] wl_default6: check WAYLAND_PROTOCOLS_DIR

Christian Rauch noreply at git.blender.org
Sat Jul 3 16:43:28 CEST 2021


Commit: 74187220e06abf62ee896880c83556bedb3dd874
Author: Christian Rauch
Date:   Sat Jul 3 15:24:54 2021 +0100
Branches: wl_default6
https://developer.blender.org/rB74187220e06abf62ee896880c83556bedb3dd874

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