Fix Location Of EGL Stub When Using Media Layer Proxy
This commit is contained in:
parent
005492fad4
commit
e73596fd57
@ -10,7 +10,7 @@ minecraft-pi-reborn-<Variant>_X.Y.Z~<Distribution>_<Architecture>
|
|||||||
|
|
||||||
### Picking A Variant
|
### Picking A Variant
|
||||||
* ``client``: Client mode, use this if you want to play MCPI
|
* ``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
|
### 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.
|
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.
|
||||||
|
@ -15,7 +15,11 @@ if(BUILD_ARM_COMPONENTS)
|
|||||||
add_library(EGL SHARED src/EGL.c)
|
add_library(EGL SHARED src/EGL.c)
|
||||||
target_link_libraries(EGL reborn-headers media-layer-headers)
|
target_link_libraries(EGL reborn-headers media-layer-headers)
|
||||||
# Install
|
# Install
|
||||||
|
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
|
install(TARGETS EGL DESTINATION "${MCPI_FALLBACK_LIB_DIR}") # Place At The End Of LD_LIBRARY_PATH
|
||||||
|
endif()
|
||||||
|
|
||||||
# Install GLESv1_CM Stubs In Server Mode
|
# Install GLESv1_CM Stubs In Server Mode
|
||||||
if(MCPI_SERVER_MODE)
|
if(MCPI_SERVER_MODE)
|
||||||
|
Loading…
Reference in New Issue
Block a user