Skip to content
This repository has been archived by the owner on Feb 1, 2025. It is now read-only.

Commit

Permalink
Debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
cone-forest committed Mar 25, 2024
1 parent c8bd7b8 commit d6b3cbf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function(deduce_linux_display_server)
COMMAND bash -c "env | awk -F= '$2 ~ /x11/ {count++} END {print count}'"
OUTPUT_VARIABLE X11Count
)
message(STATUS "Display server counts: " ${X11Count} " " ${WaylandCount})
if (${X11Count} LESS ${WaylandCount})
set(XWIN_API "WAYLAND" PARENT_SCOPE)
elseif (${X11Count} GREATER 0)
Expand Down

0 comments on commit d6b3cbf

Please sign in to comment.