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}")