Browse Source

Use PERMISSIONS keyword instead of FILE_PERMISSIONS

Fixes #6
tags/1.2
Timo Röhling 10 years ago
parent
commit
6c0be7c5b3
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      postinstall.cmake.in

+ 1
- 1
postinstall.cmake.in View File

45
 		ERROR_QUIET
45
 		ERROR_QUIET
46
 		OUTPUT_STRIP_TRAILING_WHITESPACE
46
 		OUTPUT_STRIP_TRAILING_WHITESPACE
47
 	)
47
 	)
48
-file(INSTALL FILES "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "${SYSCONF_DIR}" RENAME "${SECRET_FILE}" FILE_PERMISSIONS OWNER_READ OWNER_WRITE)
48
+file(INSTALL FILES "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}" DESTINATION "${SYSCONF_DIR}" RENAME "${SECRET_FILE}" PERMISSIONS OWNER_READ OWNER_WRITE)
49
 file(REMOVE "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}")
49
 file(REMOVE "@CMAKE_CURRENT_BINARY_DIR@/${SECRET_FILE}")
50
 endif()
50
 endif()

Loading…
Cancel
Save