[cmake] update cmake for PLATFORM_MEMORY (#5749)

* update cmake for PLATFORM_MEMORY

* remove opengl example for memory platform

* update for winmm and cross compile
This commit is contained in:
Thomas Anderson
2026-04-13 11:55:45 -05:00
committed by GitHub
parent 970531d112
commit 034ffda887
3 changed files with 14 additions and 1 deletions

View File

@ -105,6 +105,9 @@ elseif ("${PLATFORM}" STREQUAL "DRM")
list(REMOVE_ITEM example_sources ${CMAKE_CURRENT_SOURCE_DIR}/others/rlgl_standalone.c)
list(REMOVE_ITEM example_sources ${CMAKE_CURRENT_SOURCE_DIR}/others/raylib_opengl_interop.c)
elseif ("${PLATFORM}" MATCHES "Memory")
list(REMOVE_ITEM example_sources ${CMAKE_CURRENT_SOURCE_DIR}/others/raylib_opengl_interop.c)
elseif ("${OPENGL_VERSION}" STREQUAL "Software")
list(REMOVE_ITEM example_sources ${CMAKE_CURRENT_SOURCE_DIR}/others/rlgl_standalone.c)
list(REMOVE_ITEM example_sources ${CMAKE_CURRENT_SOURCE_DIR}/others/raylib_opengl_interop.c)