[Bf-blender-cvs] [baa9a00f5f9] master: Fix Wayland not being disabled when dependencies are not found

Brecht Van Lommel noreply at git.blender.org
Mon Oct 17 14:44:40 CEST 2022


Commit: baa9a00f5f97c04330f0247f36af34bb335e2dcb
Author: Brecht Van Lommel
Date:   Mon Oct 17 13:24:00 2022 +0200
Branches: master
https://developer.blender.org/rBbaa9a00f5f97c04330f0247f36af34bb335e2dcb

Fix Wayland not being disabled when dependencies are not found

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

M	build_files/cmake/platform/platform_unix.cmake

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

diff --git a/build_files/cmake/platform/platform_unix.cmake b/build_files/cmake/platform/platform_unix.cmake
index 7b7937959bf..85a6080cc3f 100644
--- a/build_files/cmake/platform/platform_unix.cmake
+++ b/build_files/cmake/platform/platform_unix.cmake
@@ -740,27 +740,27 @@ if(WITH_GHOST_WAYLAND)
     set(wayland-cursor_FOUND ON)
   endif()
 
-  if (NOT ${wayland-client_FOUND})
+  if (NOT wayland-client_FOUND)
     message(STATUS "wayland-client not found, disabling WITH_GHOST_WAYLAND")
     set(WITH_GHOST_WAYLAND OFF)
   endif()
-  if (NOT ${wayland-egl_FOUND})
+  if (NOT wayland-egl_FOUND)
     message(STATUS "wayland-egl not found, disabling WITH_GHOST_WAYLAND")
     set(WITH_GHOST_WAYLAND OFF)
   endif()
-  if (NOT ${wayland-scanner_FOUND})
+  if (NOT wayland-scanner_FOUND)
     message(STATUS "wayland-scanner not found, disabling WITH_GHOST_WAYLAND")
     set(WITH_GHOST_WAYLAND OFF)
   endif()
-  if (NOT ${wayland-cursor_FOUND})
+  if (NOT wayland-cursor_FOUND)
     message(STATUS "wayland-cursor not found, disabling WITH_GHOST_WAYLAND")
     set(WITH_GHOST_WAYLAND OFF)
   endif()
-  if (NOT ${wayland-protocols_FOUND})
+  if (NOT wayland-protocols_FOUND)
     message(STATUS "wayland-protocols not found, disabling WITH_GHOST_WAYLAND")
     set(WITH_GHOST_WAYLAND OFF)
   endif()
-  if (NOT ${xkbcommon_FOUND})
+  if (NOT xkbcommon_FOUND)
     message(STATUS "xkbcommon not found, disabling WITH_GHOST_WAYLAND")
     set(WITH_GHOST_WAYLAND OFF)
   endif()



More information about the Bf-blender-cvs mailing list