mirror of
https://github.com/celisej567/mcpe.git
synced 2026-09-04 19:36:43 +03:00
Fix Building On Windows
This commit is contained in:
committed by
iProgramInCpp
parent
8823acecbd
commit
3776dc26f5
@@ -92,7 +92,7 @@ endif()
|
||||
|
||||
# Assets
|
||||
if(EMSCRIPTEN)
|
||||
target_link_options(reminecraftpe PRIVATE --use-preload-plugins --preload-file "${CMAKE_CURRENT_SOURCE_DIR}/../../game/assets@/assets")
|
||||
else()
|
||||
target_link_options(reminecraftpe PRIVATE --use-preload-plugins --preload-file "${CMAKE_CURRENT_SOURCE_DIR}/../../game@/")
|
||||
elseif(NOT ANDROID)
|
||||
file(CREATE_LINK "${CMAKE_CURRENT_SOURCE_DIR}/../../game/assets" "${CMAKE_CURRENT_BINARY_DIR}/assets" SYMBOLIC)
|
||||
endif()
|
||||
|
||||
@@ -29,6 +29,7 @@ android {
|
||||
}
|
||||
sourceSets.main {
|
||||
java.srcDir '../../../../thirdparty/SDL2/src/android-project/app/src/main/java'
|
||||
assets.srcDir '../../../../game'
|
||||
}
|
||||
externalNativeBuild {
|
||||
cmake {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
../../../../../../../game/assets
|
||||
Reference in New Issue
Block a user