Fixed cmake install of binaries

This commit is contained in:
2024-07-12 10:48:47 -04:00
parent b5970fe94d
commit 307bd3b811
7 changed files with 17 additions and 0 deletions

View File

@ -12,9 +12,14 @@ foreach(SUB_DIR ${SUB_DIRS})
endforeach()
# installs
file(GLOB BIN_PROGS "bin/*")
file(GLOB BIN_SCRIPTS "bin-scripts/*")
file(GLOB SBIN_SCRIPTS "sbin-scripts/*")
install(FILES ${BIN_PROGS}
DESTINATION bin
PERMISSIONS WORLD_EXECUTE WORLD_READ OWNER_WRITE
)
install(FILES ${BIN_SCRIPTS}
DESTINATION bin
PERMISSIONS WORLD_EXECUTE WORLD_READ OWNER_WRITE