diff options
| author | Richard Smith <[email protected]> | 2022-06-24 09:50:24 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-06-24 10:50:24 +0200 |
| commit | 3c3f08c4162bda19ebab4b86d3a25692bc647df3 (patch) | |
| tree | f11b2583e947c1179fa3f526b59f9448d6e7fcc3 /examples | |
| parent | 6f231ea9ac0ae65eeb6a583eafaf8ffaf82f1986 (diff) | |
| download | raylib-3c3f08c4162bda19ebab4b86d3a25692bc647df3.tar.gz raylib-3c3f08c4162bda19ebab4b86d3a25692bc647df3.zip | |
Fix CMake build on Raspberry Pi OS Bullseye (#2548)
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt index 6ade9686..e2ef8742 100644 --- a/examples/CMakeLists.txt +++ b/examples/CMakeLists.txt @@ -106,6 +106,11 @@ elseif (${PLATFORM} MATCHES "Web") # does not generate HTML+JS+WASM files, only a non-working # and fat HTML string(REPLACE "-rdynamic" "" CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "${CMAKE_SHARED_LIBRARY_LINK_C_FLAGS}") + +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) + endif () include_directories(BEFORE SYSTEM others/external/include) |
