diff options
author | Sergei Golubchik <serg@mariadb.org> | 2014-06-16 21:24:30 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2014-06-26 11:54:12 +0200 |
commit | afa4c36ca055328f52973d8b8d28a04520ccdc59 (patch) | |
tree | 6337a6be73e240ef70302dfb55e2b4c6f2dc035a /cmake/install_macros.cmake | |
parent | 6c9dd841cbe60806ca6cdbc03e60c2e4094cf9f8 (diff) | |
download | mariadb-git-afa4c36ca055328f52973d8b8d28a04520ccdc59.tar.gz |
cmake: prefer INSTALL(PROGRAMS over INSTALL(FILES
Diffstat (limited to 'cmake/install_macros.cmake')
-rw-r--r-- | cmake/install_macros.cmake | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/cmake/install_macros.cmake b/cmake/install_macros.cmake index bd834ece4b0..8226f0f705b 100644 --- a/cmake/install_macros.cmake +++ b/cmake/install_macros.cmake @@ -124,13 +124,7 @@ FUNCTION(INSTALL_SCRIPT) SET(COMP) ENDIF() - INSTALL(FILES - ${script} - DESTINATION ${ARG_DESTINATION} - PERMISSIONS OWNER_READ OWNER_WRITE - OWNER_EXECUTE GROUP_READ GROUP_EXECUTE - WORLD_READ WORLD_EXECUTE ${COMP} - ) + INSTALL(PROGRAMS ${script} DESTINATION ${ARG_DESTINATION} ${COMP}) INSTALL_MANPAGE(${script}) ENDFUNCTION() |