minecraft-pi-reborn/media-layer/core/gles/dependencies/CMakeLists.txt

12 lines
558 B
CMake
Raw Normal View History

2023-08-05 21:26:36 +00:00
project(media-layer-core-gles-dependencies)
# GLES Compatibility Layer
if(NOT MCPI_HEADLESS_MODE AND MCPI_USE_GLES1_COMPATIBILITY_LAYER)
set(GLES_COMPATIBILITY_LAYER_USE_DEFAULT_INCLUDE_PATH FALSE CACHE BOOL "" FORCE)
2023-09-08 01:38:14 +00:00
set(GLES_COMPATIBILITY_LAYER_USE_ES3 FALSE CACHE BOOL "" FORCE)
2023-08-05 21:26:36 +00:00
set(GLES_COMPATIBILITY_LAYER_USE_SDL FALSE CACHE BOOL "" FORCE)
set(GLES_COMPATIBILITY_LAYER_DEPENDENCY glfw CACHE STRING "" FORCE)
add_subdirectory(gles-compatibility-layer)
target_link_libraries(gles-compatibility-layer media-layer-headers)
endif()