[Bf-blender-cvs] [c952e8eaab2] temp-wayland-enable: Add path debugging output (for some reason the build-bot can't find the includes)

Campbell Barton noreply at git.blender.org
Sat Oct 8 03:08:08 CEST 2022


Commit: c952e8eaab27136604308d860af0cc8411ab3ab3
Author: Campbell Barton
Date:   Sat Oct 8 11:29:20 2022 +1100
Branches: temp-wayland-enable
https://developer.blender.org/rBc952e8eaab27136604308d860af0cc8411ab3ab3

Add path debugging output (for some reason the build-bot can't find the includes)

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

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 0b137ae93d6..cc7e9123172 100644
--- a/build_files/cmake/platform/platform_unix.cmake
+++ b/build_files/cmake/platform/platform_unix.cmake
@@ -41,6 +41,13 @@ if(EXISTS ${LIBDIR})
 
   file(GLOB LIB_SUBDIRS ${LIBDIR}/*)
 
+  file(GLOB_RECURSE LIBDIR_ALL_FILES ${LIBDIR} *)
+  foreach(F ${LIBDIR_ALL_FILES})
+    message(STATUS ">> ${F}")
+  endforeach()
+  unset(F)
+  unset(LIBDIR_ALL_FILES)
+
   # Ignore Mesa software OpenGL libraries, they are not intended to be
   # linked against but to optionally override at runtime.
   list(REMOVE_ITEM LIB_SUBDIRS ${LIBDIR}/mesa)
@@ -734,6 +741,12 @@ if(WITH_GHOST_WAYLAND)
     set(wayland-egl_INCLUDE_DIRS "${LIBDIR}/wayland/include")
     set(wayland-cursor_INCLUDE_DIRS "${LIBDIR}/wayland/include")
 
+    if(EXISTS "${LIBDIR}/wayland/include")
+      message(STATUS "FOUND: ${LIBDIR}/wayland/include")
+    else()
+      message(STATUS "MISSING: ${LIBDIR}/wayland/include")
+    endif()
+
     set(wayland-client_FOUND ON)
     set(wayland-egl_FOUND ON)
     set(wayland-scanner_FOUND ON)
@@ -775,6 +788,26 @@ if(WITH_GHOST_WAYLAND)
         pkg_check_modules(libdecor REQUIRED libdecor-0>=0.1)
       else()
         set(libdecor_INCLUDE_DIRS "${LIBDIR}/wayland_libdecor/include/libdecor-0")
+
+
+        if(EXISTS "${LIBDIR}/wayland_libdecor")
+          message(STATUS "FOUND: ${LIBDIR}/wayland_libdecor")
+        else()
+          message(STATUS "MISSING: ${LIBDIR}/wayland_libdecor")
+        endif()
+
+        if(EXISTS "${LIBDIR}/wayland_libdecor/include")
+          message(STATUS "FOUND: ${LIBDIR}/wayland_libdecor/include")
+        else()
+          message(STATUS "MISSING: ${LIBDIR}/wayland_libdecor/include")
+        endif()
+
+        if(EXISTS "${LIBDIR}/wayland_libdecor/include/libdecor-0")
+          message(STATUS "FOUND: ${LIBDIR}/wayland_libdecor/include/libdecor-0")
+        else()
+          message(STATUS "MISSING: ${LIBDIR}/wayland_libdecor/include/libdecor-0")
+        endif()
+
       endif()
     endif()



More information about the Bf-blender-cvs mailing list