[protobuf] Fix protoc permissions

This commit is contained in:
Alexander Karatarakis 2018-04-20 15:31:26 -07:00
parent d84e86a910
commit 825c22de58
2 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
Source: protobuf
Version: 3.5.1-2
Version: 3.5.1-3
Description: Protocol Buffers - Google's data interchange format
Feature: zlib

View File

@ -116,7 +116,8 @@ if(CMAKE_HOST_WIN32)
endif()
else()
protobuf_try_remove_recurse_wait(${CURRENT_PACKAGES_DIR}/debug/bin)
file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/protoc DESTINATION ${CURRENT_PACKAGES_DIR}/tools)
file(INSTALL ${CURRENT_PACKAGES_DIR}/bin/protoc DESTINATION ${CURRENT_PACKAGES_DIR}/tools
PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ)
protobuf_try_remove_recurse_wait(${CURRENT_PACKAGES_DIR}/bin)
endif()