mirror of
https://github.com/wolfpld/tracy.git
synced 2026-11-19 14:15:59 +00:00
adding Xrandr dependency
This commit is contained in:
@@ -56,7 +56,10 @@ elseif(WIN32)
|
||||
set(PLATFORM_LIBS opengl32 user32 gdi32 libglew_static)
|
||||
else()
|
||||
find_package(X11 REQUIRED)
|
||||
set(PLATFORM_LIBS X11::X11 GL libglew_static)
|
||||
if(NOT X11_Xrandr_FOUND)
|
||||
message(FATAL_ERROR "Xrandr not found — install libxrandr-dev")
|
||||
endif()
|
||||
set(PLATFORM_LIBS X11::X11 X11::Xrandr GL libglew_static)
|
||||
endif()
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user