mirror of
https://github.com/slint-ui/slint.git
synced 2025-11-03 05:12:55 +00:00
Fix build of C++ OpenGL underlay example
Test for the right feature flag and fix the compatibility feature names.
This commit is contained in:
parent
e2180ea0f9
commit
dd04e044d0
2 changed files with 7 additions and 7 deletions
|
|
@ -32,6 +32,6 @@ endif()
|
|||
if (SLINT_FEATURE_INTERPRETER)
|
||||
add_subdirectory(iot-dashboard/)
|
||||
endif()
|
||||
if (TARGET Slint::slint-compiler AND OpenGLES2_FOUND AND(SLINT_FEATURE_BACKEND_WINIT OR SLINT_FEATURE_BACKEND_WINIT_WAYLAND OR SLINT_FEATURE_BACKEND_WINIT_X11) AND SLINT_FEATURE_RENDERER_FEMTOVG)
|
||||
if (TARGET Slint::slint-compiler AND OpenGLES2_FOUND AND (SLINT_FEATURE_BACKEND_WINIT OR SLINT_FEATURE_BACKEND_WINIT_WAYLAND OR SLINT_FEATURE_BACKEND_WINIT_X11) AND SLINT_FEATURE_RENDERER_WINIT_FEMTOVG)
|
||||
add_subdirectory(opengl_underlay)
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue