We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 63833f5 commit e85224dCopy full SHA for e85224d
build/cmake/CMakeLists.txt
@@ -44,3 +44,12 @@ myci_declare_library(${name}
44
WINDOWS_ONLY_DEPENDENCIES
45
unofficial-angle/unofficial::angle::libGLESv2
46
)
47
+
48
+if(APPLE)
49
+ target_link_libraries(${name}
50
+ PRIVATE
51
+ # Link the iOS frameworks directly using the -framework flag string.
52
+ # The quotes are important so CMake passes it as a single linker argument.
53
+ "-framework OpenGLES"
54
+ )
55
+endif()
0 commit comments