|
|
@ -52,8 +52,9 @@ if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND) |
|
|
|
endif() |
|
|
|
endif() |
|
|
|
|
|
|
|
|
|
|
|
if (OCV_DEPENDENCIES_FOUND AND INSTALL_C_EXAMPLES AND NOT WIN32) |
|
|
|
if (OCV_DEPENDENCIES_FOUND AND INSTALL_C_EXAMPLES AND NOT WIN32) |
|
|
|
file(GLOB C_SAMPLES *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd *.txt) |
|
|
|
file(GLOB C_SAMPLES *.c *.cpp *.jpg *.png *.data makefile.* *.cmd *.txt) |
|
|
|
install(FILES ${C_SAMPLES} |
|
|
|
install(FILES ${C_SAMPLES} |
|
|
|
DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}/c |
|
|
|
DESTINATION "${OPENCV_SAMPLES_SRC_INSTALL_PATH}/c" |
|
|
|
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples) |
|
|
|
PERMISSIONS OWNER_READ OWNER_WRITE GROUP_READ WORLD_READ COMPONENT samples) |
|
|
|
|
|
|
|
install(PROGRAMS build_all.sh DESTINATION "${OPENCV_SAMPLES_SRC_INSTALL_PATH}/c" COMPONENT samples) |
|
|
|
endif () |
|
|
|
endif () |
|
|
|