mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-07 03:22:27 +02:00
Gabriel Calero's hint.
This commit is contained in:
parent
56fa467b63
commit
c199654ded
3 changed files with 3 additions and 6 deletions
|
@ -27,7 +27,7 @@ RUN mkdir -p "$ANDROID_HOME" "$ANDROID_SDK_HOME" && \
|
|||
unzip sdk.zip && \
|
||||
rm sdk.zip && \
|
||||
yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses
|
||||
|
||||
RUN yes | $ANDROID_HOME/tools/bin/sdkmanager --licenses && yes | $ANDROID_HOME/tools/bin/sdkmanager --update
|
||||
# Install Android Build Tool and Libraries
|
||||
RUN $ANDROID_HOME/tools/bin/sdkmanager --update
|
||||
RUN $ANDROID_HOME/tools/bin/sdkmanager "build-tools;${ANDROID_BUILD_TOOLS_VERSION}" \
|
||||
|
|
|
@ -32,8 +32,8 @@ if (BUILD_TOOLS)
|
|||
set_target_properties(oven PROPERTIES FOLDER "Tools")
|
||||
|
||||
# No need to build on Android or in a Production build
|
||||
## if (NOT ANDROID AND NOT RELEASE_TYPE STREQUAL "PRODUCTION")
|
||||
if (NOT ANDROID AND NOT RELEASE_TYPE STREQUAL "PRODUCTION")
|
||||
add_subdirectory(nitpick)
|
||||
set_target_properties(nitpick PROPERTIES FOLDER "Tools")
|
||||
## endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
@ -76,9 +76,6 @@ elseif (WIN32)
|
|||
|
||||
# add an executable that also has the icon itself and the configured rc file as resources
|
||||
add_executable(${TARGET_NAME} WIN32 ${NITPICK_SRCS} ${QM} ${CONFIGURE_ICON_RC_OUTPUT} ${CONFIGURE_VERSION_INFO_RC_OUTPUT})
|
||||
elseif (ANDROID)
|
||||
# on android the target is a library that gets linked/used by the APK shell that qtcreateapk produces
|
||||
add_library(${TARGET_NAME} ${INTERFACE_SRCS} ${QM})
|
||||
else ()
|
||||
add_executable(${TARGET_NAME} ${NITPICK_SRCS} ${QM})
|
||||
endif ()
|
||||
|
|
Loading…
Reference in a new issue