Commit b1cdb911 authored by Alexander Smorkalov's avatar Alexander Smorkalov

Fixed samples install permissions for Debian packaging.

(cherry picked from commit cf852972)
parent a09ad35d
...@@ -865,7 +865,7 @@ function(ocv_add_samples) ...@@ -865,7 +865,7 @@ function(ocv_add_samples)
file(GLOB sample_files "${samples_path}/*") file(GLOB sample_files "${samples_path}/*")
install(FILES ${sample_files} install(FILES ${sample_files}
DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}/${module_id} DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}/${module_id}
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples) PERMISSIONS OWNER_WRITE OWNER_READ GROUP_READ WORLD_READ COMPONENT samples)
endif() endif()
endfunction() endfunction()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment