if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)\r
set(project "gpu")\r
string(TOUPPER "${project}" project_upper)\r
- \r
+\r
project("${project}_samples")\r
\r
ocv_include_modules(${OPENCV_GPU_SAMPLES_REQUIRED_DEPS})\r
target_link_libraries(${the_target} ${OPENCV_LINKER_LIBS} ${OPENCV_GPU_SAMPLES_REQUIRED_DEPS})\r
\r
set_target_properties(${the_target} PROPERTIES\r
- OUTPUT_NAME "${name}_${project}" \r
+ OUTPUT_NAME "${name}_${project}"\r
PROJECT_LABEL "(EXAMPLE_${project_upper}) ${name}")\r
- \r
+\r
if(ENABLE_SOLUTION_FOLDERS)\r
set_target_properties(${the_target} PROPERTIES FOLDER "samples//${project}")\r
endif()\r
include("performance/CMakeLists.txt")\r
endif()\r
\r
-if (NOT WIN32)\r
+if (INSTALL_C_EXAMPLES AND NOT WIN32)\r
file(GLOB install_list *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd )\r
install(FILES ${install_list}\r
- DESTINATION share/opencv/samples/${project}\r
+ DESTINATION share/OpenCV/samples/${project}\r
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ)\r
endif()\r
\r