1 if(INSTALL_PYTHON_EXAMPLES) 2 file(GLOB install_list *.py ) 3 install(FILES ${install_list} 4 DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}/python2 5 PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples) 6 endif() 7