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

13 lines
398 B
CMake
Raw Normal View History

2022-07-12 03:51:27 +00:00
project(media-layer-gles)
# Build
2023-12-25 22:29:30 +00:00
if(MCPI_USE_GLES1_COMPATIBILITY_LAYER)
2022-07-13 15:58:35 +00:00
# GLESv1_CM Compatibility Layer
2023-08-05 05:42:47 +00:00
add_library(GLESv1_CM INTERFACE)
target_link_libraries(GLESv1_CM INTERFACE gles-compatibility-layer)
2022-07-13 15:58:35 +00:00
else()
# Passthrough To glfwGetProcAddress()
2023-08-05 02:52:30 +00:00
add_library(GLESv1_CM OBJECT src/passthrough.c)
target_link_libraries(GLESv1_CM PRIVATE glfw media-layer-headers)
2022-07-12 03:51:27 +00:00
endif()