From f91ca971a352c04c9136705517046586df88b169 Mon Sep 17 00:00:00 2001 From: Anatol Pomozov Date: Sun, 21 Mar 2021 10:59:37 -0700 Subject: [PATCH] Install Android OpenSource license file --- vendor/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/vendor/CMakeLists.txt b/vendor/CMakeLists.txt index 809a8ca3..481de1e4 100644 --- a/vendor/CMakeLists.txt +++ b/vendor/CMakeLists.txt @@ -61,3 +61,7 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_FILE_OFFSET_BITS=64") # Targets which should be installed by `make install`. install(TARGETS adb fastboot "${ANDROID_MKE2FS_NAME}" simg2img img2simg append2simg DESTINATION bin) + +# Install license file. +set(LICENSES "${CMAKE_INSTALL_PREFIX}/share/license/android-tools") +install(FILES core/NOTICE DESTINATION "${LICENSES}")