Don't link against GTK3 libs if we're doing a desktop build with Imgui backend

This commit is contained in:
ROllerozxa 2026-06-03 19:05:18 +02:00
commit 8246880adc

View file

@ -219,7 +219,7 @@ if(NOT EMSCRIPTEN)
if(NOT SCREENSHOT_BUILD AND NOT EMSCRIPTEN)
list(APPEND LIBS ${CURL_LIBRARIES})
if(NOT ANDROID)
if(NOT ANDROID AND NOT BACKEND_IMGUI)
list(APPEND LIBS ${GTK3_LIBRARIES})
endif()
endif()