We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63d14f9 commit a195a1eCopy full SHA for a195a1e
build/cmake/apps.cmake
@@ -55,15 +55,18 @@ function(ruis_declare_app name)
55
ruisapp::ruisapp-opengl
56
)
57
58
- myci_declare_application(ruis-${name}-app-opengles
59
- GUI
60
- SOURCES
61
- ${srcs}
62
- RESOURCE_DIRECTORY
63
- ${resources_dir}
64
- DEPENDENCIES
65
- ruisapp::ruisapp-opengles
66
- )
+ # not all platforms have OpenGL ES, so check if opengles variant of ruisapp is defined
+ if(TARGET ruisapp-opengles)
+ myci_declare_application(ruis-${name}-app-opengles
+ GUI
+ SOURCES
+ ${srcs}
+ RESOURCE_DIRECTORY
+ ${resources_dir}
+ DEPENDENCIES
67
+ ruisapp::ruisapp-opengles
68
+ )
69
+ endif()
70
endfunction()
71
72
ruis_declare_app(align)
0 commit comments