Fixed installation of CMakeLists.txt and enabled GPU samples build in stand alone version.

This commit is contained in:
Alexander Smorkalov
2015-01-15 14:48:24 +03:00
parent 3425c90b66
commit 187befd665
6 changed files with 9 additions and 7 deletions

View File

@@ -19,6 +19,9 @@ if(ANDROID AND BUILD_ANDROID_EXAMPLES)
add_subdirectory(android)
endif()
install(FILES "CMakeLists.txt"
DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples)
#
# END OF BUILD CASE 1: Build samples with library sources
@@ -60,7 +63,7 @@ endif()
add_subdirectory(c)
add_subdirectory(cpp)
add_subdirectory(ocl)
# FIXIT: can't use cvconfig.h in samples: add_subdirectory(gpu)
add_subdirectory(gpu)
#
# END OF BUILD CASE 2: Build samples with library binaries