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 /packaging | |
parent | 6c9dd841cbe60806ca6cdbc03e60c2e4094cf9f8 (diff) | |
download | mariadb-git-afa4c36ca055328f52973d8b8d28a04520ccdc59.tar.gz |
cmake: prefer INSTALL(PROGRAMS over INSTALL(FILES
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/solaris/CMakeLists.txt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/packaging/solaris/CMakeLists.txt b/packaging/solaris/CMakeLists.txt index 899847d0f38..2a29d876567 100644 --- a/packaging/solaris/CMakeLists.txt +++ b/packaging/solaris/CMakeLists.txt @@ -30,7 +30,6 @@ FOREACH(script postinstall-solaris) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/${script}.sh ${CMAKE_CURRENT_BINARY_DIR}/${script} COPYONLY ) - INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/${script} - DESTINATION ${inst_location}/solaris COMPONENT Server_Scripts - PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) + INSTALL(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/${script} + DESTINATION ${inst_location}/solaris COMPONENT Server_Scripts) ENDFOREACH() |