Add MCPI_OPEN_SOURCE_ONLY Build Option
This commit is contained in:
parent
e1e2977c29
commit
654c719187
@ -6,6 +6,7 @@ option(MCPI_SERVER_MODE "Server Mode" FALSE)
|
||||
option(MCPI_HEADLESS_MODE "Headless Mode" ${MCPI_SERVER_MODE})
|
||||
set(MCPI_BUILD_MODE "both" CACHE STRING "\"arm\" = Build Only Code That Must Be ARM; \"native\" = Build Architecture-Independent Code; \"both\" = Build All Code As ARM")
|
||||
set_property(CACHE MCPI_BUILD_MODE PROPERTY STRINGS "both" "arm" "native")
|
||||
option(MCPI_OPEN_SOURCE_ONLY "Only Install Open-Source Code (Will Result In Broken Install)" FALSE)
|
||||
|
||||
# Configure Build Mode
|
||||
if(MCPI_BUILD_MODE STREQUAL "arm")
|
||||
|
4
dependencies/CMakeLists.txt
vendored
4
dependencies/CMakeLists.txt
vendored
@ -5,4 +5,6 @@ add_subdirectory(zlib)
|
||||
# LibPNG
|
||||
add_subdirectory(libpng)
|
||||
# Minecraft: Pi Edition
|
||||
add_subdirectory(minecraft-pi)
|
||||
if(NOT MCPI_OPEN_SOURCE_ONLY)
|
||||
add_subdirectory(minecraft-pi)
|
||||
endif()
|
||||
|
@ -14,6 +14,9 @@
|
||||
* ``MCPI_USE_MEDIA_LAYER_PROXY``
|
||||
* ``ON``: Enable The Media Layer Proxy
|
||||
* ``OFF`` (Default): Disable The Media Layer Proxy
|
||||
* ``MCPI_OPEN_SOURCE_ONLY``
|
||||
* ``ON``: Only Install Open-Source Code (Will Result In Broken Install)
|
||||
* ``OFF`` (Default): Install All Code
|
||||
|
||||
## Build Dependencies
|
||||
* Common
|
||||
|
Loading…
Reference in New Issue
Block a user