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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brecht@blender.org>2022-10-17 14:24:00 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-10-17 15:34:25 +0300
commitbaa9a00f5f97c04330f0247f36af34bb335e2dcb (patch)
tree2ba4203cca842f1c11c8d13c005c74d091e82305 /build_files
parent390cf2fe756e2759ec2f0dcc0ef4b1f84142f1d6 (diff)
Fix Wayland not being disabled when dependencies are not found
Diffstat (limited to 'build_files')
-rw-r--r--build_files/cmake/platform/platform_unix.cmake12
1 files changed, 6 insertions, 6 deletions
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()