Fix Location Of EGL Stub When Using Media Layer Proxy

This commit is contained in:
TheBrokenRail 2021-06-17 20:54:35 -04:00
parent 005492fad4
commit e73596fd57
2 changed files with 6 additions and 2 deletions

View File

@ -10,7 +10,7 @@ minecraft-pi-reborn-<Variant>_X.Y.Z~<Distribution>_<Architecture>
### Picking A Variant
* ``client``: Client mode, use this if you want to play MCPI
* ``server``: Server mode, use this if you want to host an MCPI server
* ``server``: Server mode, use this if you want to host a dedicated MCPI server
### Picking A Distribution
This specifies which version of Debian MCPI-Reborn was built against. Which one you should use depends on your current distribution. If your distribution supports it, you should use ``bullseye`` for better mouse sensitivity.

View File

@ -15,7 +15,11 @@ if(BUILD_ARM_COMPONENTS)
add_library(EGL SHARED src/EGL.c)
target_link_libraries(EGL reborn-headers media-layer-headers)
# Install
install(TARGETS EGL DESTINATION "${MCPI_FALLBACK_LIB_DIR}") # Place At The End Of LD_LIBRARY_PATH
if(MCPI_SERVER_MODE OR MCPI_USE_MEDIA_LAYER_PROXY)
install(TARGETS EGL DESTINATION "${MCPI_LIB_DIR}")
else()
install(TARGETS EGL DESTINATION "${MCPI_FALLBACK_LIB_DIR}") # Place At The End Of LD_LIBRARY_PATH
endif()
# Install GLESv1_CM Stubs In Server Mode
if(MCPI_SERVER_MODE)