From 2bad639aee0a27ab18f225e1a9bdf20bb56ef253 Mon Sep 17 00:00:00 2001 From: Vladislav Vinogradov Date: Thu, 4 Apr 2013 20:54:35 +0400 Subject: [PATCH] fixed source_group --- modules/core/CMakeLists.txt | 4 ++++ modules/gpu/CMakeLists.txt | 2 -- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/core/CMakeLists.txt b/modules/core/CMakeLists.txt index f2b130d..8b3c6c7 100644 --- a/modules/core/CMakeLists.txt +++ b/modules/core/CMakeLists.txt @@ -8,6 +8,10 @@ endif() file(GLOB lib_cuda_hdrs "include/opencv2/${name}/cuda/*.hpp" "include/opencv2/${name}/cuda/*.h") file(GLOB lib_cuda_hdrs_detail "include/opencv2/${name}/cuda/detail/*.hpp" "include/opencv2/${name}/cuda/detail/*.h") + +source_group("Cuda Headers" FILES ${lib_cuda_hdrs}) +source_group("Cuda Headers\\Detail" FILES ${lib_cuda_hdrs_detail}) + ocv_glob_module_sources(SOURCES "${opencv_core_BINARY_DIR}/version_string.inc" HEADERS ${lib_cuda_hdrs} ${lib_cuda_hdrs_detail}) diff --git a/modules/gpu/CMakeLists.txt b/modules/gpu/CMakeLists.txt index b9f2e90..f01a23b 100644 --- a/modules/gpu/CMakeLists.txt +++ b/modules/gpu/CMakeLists.txt @@ -16,8 +16,6 @@ file(GLOB lib_cuda "src/cuda/*.cu*") source_group("Include" FILES ${lib_hdrs}) source_group("Src\\Host" FILES ${lib_srcs} ${lib_int_hdrs}) source_group("Src\\Cuda" FILES ${lib_cuda} ${lib_cuda_hdrs}) -source_group("Device" FILES ${lib_device_hdrs}) -source_group("Device\\Detail" FILES ${lib_device_hdrs_detail}) if(HAVE_CUDA) file(GLOB_RECURSE ncv_srcs "src/nvidia/*.cpp" "src/nvidia/*.h*") -- 2.7.4