Fix CMake install permissions

This commit is contained in:
Tindy X 2019-12-28 04:12:46 +08:00
parent c31edcc129
commit 0d76b751f1
No known key found for this signature in database
GPG Key ID: C6AD413169968D58

View File

@ -72,5 +72,5 @@ IF(WIN32)
ELSE()
INCLUDE(GNUInstallDirs)
INSTALL(TARGETS subconverter DESTINATION ${CMAKE_INSTALL_BINDIR}/subconverter)
INSTALL(DIRECTORY base/ DESTINATION ${CMAKE_INSTALL_BINDIR}/subconverter FILES_MATCHING PATTERN "*" PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ)
INSTALL(DIRECTORY base/ DESTINATION ${CMAKE_INSTALL_BINDIR}/subconverter FILES_MATCHING PATTERN "*")
ENDIF()