We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 156f89e commit 19ba1d1Copy full SHA for 19ba1d1
1 file changed
build/cmake/CMakeLists.txt
@@ -16,7 +16,9 @@ myci_add_source_files(srcs
16
17
enable_language(OBJCXX)
18
19
-list(APPEND srcs ../../src/${name}/glue/macos/glue.mm)
+if(APPLE)
20
+ list(APPEND srcs ../../src/${name}/glue/macos/glue.mm)
21
+endif()
22
23
myci_declare_library(${name}-opengl
24
SOURCES
@@ -93,6 +95,7 @@ myci_declare_application(${name}-opengl-test
93
95
ruisapp::ruisapp-opengl
94
96
)
97
98
+# link to Cocoa framework on macos
99
if(APPLE)
100
target_link_libraries(${name}-opengl-test
101
PRIVATE
@@ -102,6 +105,7 @@ if(APPLE)
102
105
103
106
endif()
104
107
108
+# no opengles build on MACOS for now
109
if(NOT APPLE)
110
myci_declare_application(${name}-opengles-test
111
GUI
0 commit comments