mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-05 00:38:00 +01:00
cmake: Use file(COPY ...) to install Android project files
Otherwise gradlew ends up without executable permission.
This commit is contained in:
parent
901d43a520
commit
79400c4705
1 changed files with 1 additions and 1 deletions
|
@ -597,7 +597,7 @@ if (NOT LIBSUPERDERPY_CONFIG_INCLUDED)
|
||||||
set(LIBSUPERDERPY_PLATFORM_OVERRIDE "android")
|
set(LIBSUPERDERPY_PLATFORM_OVERRIDE "android")
|
||||||
|
|
||||||
file(REMOVE_RECURSE "${CMAKE_BINARY_DIR}/android")
|
file(REMOVE_RECURSE "${CMAKE_BINARY_DIR}/android")
|
||||||
file(INSTALL "${LIBSUPERDERPY_DIR}/android" DESTINATION "${CMAKE_BINARY_DIR}")
|
file(COPY "${LIBSUPERDERPY_DIR}/android" DESTINATION "${CMAKE_BINARY_DIR}")
|
||||||
|
|
||||||
MACRO(configure_android_file PATH)
|
MACRO(configure_android_file PATH)
|
||||||
configure_file("${CMAKE_BINARY_DIR}/android/${PATH}.in" "${CMAKE_BINARY_DIR}/android/${PATH}" ${ARGN})
|
configure_file("${CMAKE_BINARY_DIR}/android/${PATH}.in" "${CMAKE_BINARY_DIR}/android/${PATH}" ${ARGN})
|
||||||
|
|
Loading…
Reference in a new issue