Continuing with GUI move to events, and fixed build system missing EGL (broken build)

This commit is contained in:
Yousef Khadadeh 2026-03-29 20:23:38 +03:00
parent ef7dfcef05
commit 644bb85d99
11 changed files with 145 additions and 142 deletions

View file

@ -206,6 +206,10 @@ if((NOT EMSCRIPTEN) AND (NOT APPLE))
find_package(TBB REQUIRED)
endif()
if((NOT (GRAPHICS_BACKEND STREQUAL "Vulkan")) AND (NOT EMSCRIPTEN) AND LINUX AND (NOT NO_CONAN_BUILD))
find_package(egl)
endif()
find_package(zstd REQUIRED)
message("Skia root: " ${SKIA_INCLUDE})
@ -380,6 +384,10 @@ if((NOT (GRAPHICS_BACKEND STREQUAL "Vulkan")) AND (NOT EMSCRIPTEN) AND LINUX)
target_link_libraries(main OpenGL::EGL)
endif()
if((NOT (GRAPHICS_BACKEND STREQUAL "Vulkan")) AND (NOT EMSCRIPTEN) AND LINUX AND (NOT NO_CONAN_BUILD))
target_link_libraries(infinipaint egl::egl)
endif()
if(ANDROID)
target_link_libraries(main EGL)
endif()