mirror of
https://github.com/RetroDECK/Duckstation.git
synced 2024-11-21 21:35:38 +00:00
CMake: Fix Android native library build
This commit is contained in:
parent
70396621e8
commit
c9029a88c7
|
@ -8,6 +8,7 @@ make_build() {
|
|||
PLATFORM=$1
|
||||
OPTIONS=$2
|
||||
SUFFIX=$3
|
||||
ZIPFILE=../duckstation_libretro_${PLATFORM}.zip
|
||||
|
||||
echo Building for ${PLATFORM}...
|
||||
|
||||
|
@ -19,8 +20,8 @@ make_build() {
|
|||
cmake -G Ninja -DCMAKE_BUILD_TYPE=Release -DBUILD_LIBRETRO_CORE=ON $OPTIONS $ROOTDIR
|
||||
|
||||
ninja
|
||||
rm -f ../duckstation_${PLATFORM}.zip
|
||||
zip -j ../duckstation_${PLATFORM}.zip duckstation_libretro${SUFFIX}.so
|
||||
rm -f $ZIPFILE
|
||||
zip -j $ZIPFILE duckstation_libretro${SUFFIX}.so
|
||||
cd ..
|
||||
}
|
||||
|
||||
|
|
|
@ -6,11 +6,11 @@ add_subdirectory(common)
|
|||
add_subdirectory(core)
|
||||
add_subdirectory(scmversion)
|
||||
|
||||
if(BUILD_NOGUI_FRONTEND OR BUILD_QT_FRONTEND)
|
||||
if(NOT BUILD_LIBRETRO_CORE)
|
||||
add_subdirectory(frontend-common)
|
||||
endif()
|
||||
|
||||
if(NOT BUILD_LIBRETRO_CORE)
|
||||
if(NOT BUILD_LIBRETRO_CORE AND NOT ANDROID)
|
||||
add_subdirectory(common-tests)
|
||||
if(WIN32)
|
||||
add_subdirectory(updater)
|
||||
|
|
Loading…
Reference in a new issue