summaryrefslogtreecommitdiffstats
path: root/src/tools/vppapigen/CMakeLists.txt
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2018-08-30 22:56:10 +0200
committerDamjan Marion <damarion@cisco.com>2018-08-30 22:56:13 +0200
commit5ad62c31030bd6a927561ff3ca8bd33630404926 (patch)
tree476b4bc395dc76a53c3589fb063bd52922613899 /src/tools/vppapigen/CMakeLists.txt
parentd9b2fcebef0f2acd350511e949a2543513cc7bb7 (diff)
cmake: fix vppapigen install permissons
Change-Id: I0f49842d3e6690d0965bd310321495a2dc4c2350 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/tools/vppapigen/CMakeLists.txt')
-rw-r--r--src/tools/vppapigen/CMakeLists.txt10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/tools/vppapigen/CMakeLists.txt b/src/tools/vppapigen/CMakeLists.txt
index 6023f20c63a..2898f506b6a 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)