cmake: fix vppapigen install permissons
Change-Id: I0f49842d3e6690d0965bd310321495a2dc4c2350
Signed-off-by: Damjan Marion <damarion@cisco.com>
diff --git a/src/tools/vppapigen/CMakeLists.txt b/src/tools/vppapigen/CMakeLists.txt
index 6023f20..2898f50 100644
--- a/src/tools/vppapigen/CMakeLists.txt
+++ b/src/tools/vppapigen/CMakeLists.txt
@@ -11,5 +11,13 @@
# 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)