cmake: fix vppapigen install permissons 82/14582/1
authorDamjan Marion <damarion@cisco.com>
Thu, 30 Aug 2018 20:56:10 +0000 (22:56 +0200)
committerDamjan Marion <damarion@cisco.com>
Thu, 30 Aug 2018 20:56:13 +0000 (22:56 +0200)
Change-Id: I0f49842d3e6690d0965bd310321495a2dc4c2350
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/tools/vppapigen/CMakeLists.txt

index 6023f20..2898f50 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-install(FILES vppapigen.py RENAME vppapigen DESTINATION bin)
+install(
+  FILES vppapigen.py
+  RENAME vppapigen
+  DESTINATION bin
+  PERMISSIONS
+    OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE
+    WORLD_READ WORLD_EXECUTE
+)
+
 install(FILES C.py JSON.py DESTINATION share/vpp)