Fixed samples install permissions for Debian packaging.

(cherry picked from commit cf852972d1)
remotes/opencv/2.4.10.x-prep
Alexander Smorkalov 10 years ago
parent a09ad35d98
commit b1cdb91139
  1. 2
      cmake/OpenCVModule.cmake

@ -865,7 +865,7 @@ function(ocv_add_samples)
file(GLOB sample_files "${samples_path}/*")
install(FILES ${sample_files}
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()
endfunction()

Loading…
Cancel
Save