Fixed samples install permissions for Debian packaging.

This commit is contained in:
Alexander Smorkalov 2015-02-01 00:34:23 +03:00
parent 1f47c22371
commit cf852972d1

View File

@ -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()