Skip to content

Commit 7a42778

Browse files
authored
Expose PLATFORM_WEB_RGFW to cmake (#5579)
1 parent 11e3e6e commit 7a42778

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

cmake/LibraryConfigurations.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,11 @@ elseif ("${PLATFORM}" MATCHES "RGFW")
167167

168168
set(LIBS_PRIVATE ${X11_LIBRARIES} ${OPENGL_LIBRARIES})
169169
endif ()
170+
171+
elseif ("${PLATFORM}" MATCHES "WebRGFW")
172+
set(PLATFORM_CPP "PLATFORM_WEB_RGFW")
173+
set(GRAPHICS "GRAPHICS_API_OPENGL_ES2")
174+
set(CMAKE_STATIC_LIBRARY_SUFFIX ".a")
170175
endif ()
171176

172177
if (NOT ${OPENGL_VERSION} MATCHES "OFF")

0 commit comments

Comments
 (0)