minecraft-pi-reborn/media-layer/stubs/CMakeLists.txt

15 lines
431 B
CMake
Raw Normal View History

2021-06-17 21:32:24 +00:00
project(media-layer-stubs)
2022-03-13 03:52:58 +00:00
# Add GLES1 Stubs For Linking
2021-06-17 21:32:24 +00:00
add_library(GLESv1_CM SHARED src/GLESv1_CM.c)
target_link_libraries(GLESv1_CM media-layer-headers)
set_target_properties(GLESv1_CM PROPERTIES SOVERSION "1")
# Stubs Only Needed For ARM
2021-06-17 21:32:24 +00:00
if(BUILD_ARM_COMPONENTS)
2022-03-13 03:52:58 +00:00
# Install Fake GLESv1_CM Stubs In Server Mode
2021-08-27 02:52:18 +00:00
if(MCPI_HEADLESS_MODE)
2021-06-17 21:32:24 +00:00
install(TARGETS GLESv1_CM DESTINATION "${MCPI_LIB_DIR}")
endif()
endif()