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

@@ -27,7 +27,7 @@ if(WIN32)
endif()
if(INSTALL_C_EXAMPLES AND NOT WIN32)
file(GLOB GPU_FILES performance/*.cpp performance/*.h)
file(GLOB GPU_FILES performance/*.cpp performance/*.h performance/CMakeLists.txt)
install(FILES ${GPU_FILES}
DESTINATION ${OPENCV_SAMPLES_SRC_INSTALL_PATH}/gpu/performance
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ