Ticket #32528: patch-samples_c_CMakeLists.txt.diff

File patch-samples_c_CMakeLists.txt.diff, 1020 bytes (added by marin.saric@…, 13 years ago)
  • samples/c/CMakeLists.txt

    old new  
    6161endif(BUILD_EXAMPLES)
    6262
    6363if (INSTALL_C_EXAMPLES AND NOT WIN32)
    64     file(GLOB C_SAMPLES *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd )
     64    file(GLOB C_SAMPLES *.c *.cpp *.jpg *.png *.data makefile.* *.dsp *.cmd )
    6565    install(FILES ${C_SAMPLES}
    66             DESTINATION share/opencv/samples/c
    67             PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)
    68 endif ()
     66            DESTINATION share/OpenCV/samples/c
     67            PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ)
    6968
     69    install(FILES build_all.sh
     70            DESTINATION share/OpenCV/samples/c
     71            PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ WORLD_READ)
     72    install(FILES build_all.sh
     73            DESTINATION share/OpenCV/samples/cpp
     74            PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ WORLD_READ)
     75endif ()