File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ if(EMSCRIPTEN)
66 # When configuring web builds with "emcmake cmake -B build -S .", set PLATFORM to Web by default
77 SET(PLATFORM Web CACHE STRING "Platform to build for.")
88endif()
9- enum_option(PLATFORM "Desktop;Web;Android;Raspberry Pi;DRM;SDL" "Platform to build for.")
9+ enum_option(PLATFORM "Desktop;Web;Android;Raspberry Pi;DRM;SDL;RGFW " "Platform to build for.")
1010
1111enum_option(OPENGL_VERSION "OFF;4.3;3.3;2.1;1.1;ES 2.0;ES 3.0;Software" "Force a specific OpenGL Version?")
1212
Original file line number Diff line number Diff line change @@ -141,6 +141,8 @@ elseif ("${PLATFORM}" MATCHES "SDL")
141141 add_compile_definitions (USING_SDL2_PACKAGE)
142142 endif ()
143143 endif ()
144+ elseif ("${PLATFORM} " MATCHES "RGFW" )
145+ set (PLATFORM_CPP "PLATFORM_DESKTOP_RGFW" )
144146endif ()
145147
146148if (NOT ${OPENGL_VERSION} MATCHES "OFF" )
You can’t perform that action at this time.
0 commit comments