Skip to content

Commit

Permalink
Merge pull request #273 from resistor/install
Browse files Browse the repository at this point in the history
Use install(PROGRAMS ...) to install Python scripts with correct permissions.
  • Loading branch information
sylefeb authored Jun 23, 2024
2 parents 364b63b + 7fbdc3e commit 8c87540
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ else()

install(TARGETS silice RUNTIME DESTINATION bin/)
install(TARGETS libsilice ARCHIVE DESTINATION bin/)
install(FILES bin/silice-make.py PERMISSIONS WORLD_EXECUTE OWNER_WRITE WORLD_READ DESTINATION bin/)
install(FILES bin/report-cycles.py PERMISSIONS WORLD_EXECUTE OWNER_WRITE WORLD_READ DESTINATION bin/)
install(PROGRAMS bin/silice-make.py DESTINATION bin/)
install(PROGRAMS bin/report-cycles.py DESTINATION bin/)
install(FILES projects/ice-v/CPUs/ice-v.si DESTINATION share/silice/projects/ice-v/CPUs/)
install(FILES projects/ice-v/CPUs/ice-v-dual.si DESTINATION share/silice/projects/ice-v/CPUs/)
install(DIRECTORY frameworks DESTINATION share/silice/ USE_SOURCE_PERMISSIONS)
Expand Down

0 comments on commit 8c87540

Please sign in to comment.