Fixed samples install permissions for Debian packaging.

pull/3660/head
Alexander Smorkalov 10 years ago
parent 1f47c22371
commit cf852972d1
  1. 2
      cmake/OpenCVModule.cmake

@ -893,7 +893,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