Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
opencv
Commits
4b7c0b9c
Commit
4b7c0b9c
authored
Jan 19, 2017
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cuda: fix samples
parent
68e50661
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
12 deletions
+4
-12
CMakeLists.txt
samples/gpu/CMakeLists.txt
+2
-10
CMakeLists.txt
samples/gpu/performance/CMakeLists.txt
+2
-2
No files found.
samples/gpu/CMakeLists.txt
View file @
4b7c0b9c
...
@@ -14,27 +14,19 @@ if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
...
@@ -14,27 +14,19 @@ if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
project
(
"
${
project
}
_samples"
)
project
(
"
${
project
}
_samples"
)
ocv_include_modules_recurse
(
${
OPENCV_CUDA_SAMPLES_REQUIRED_DEPS
}
)
ocv_include_modules_recurse
(
${
OPENCV_CUDA_SAMPLES_REQUIRED_DEPS
}
)
ocv_include_directories
(
"
${
OpenCV_SOURCE_DIR
}
/modules/gpu/src/nvidia"
"
${
OpenCV_SOURCE_DIR
}
/modules/gpu/src/nvidia/core"
)
if
(
HAVE_opencv_xfeatures2d
)
if
(
HAVE_opencv_xfeatures2d
)
ocv_include_
directories
(
"
${
OpenCV_SOURCE_DIR
}
/modules/xfeatures2d/include"
)
ocv_include_
modules_recurse
(
opencv_xfeatures2d
)
endif
()
endif
()
if
(
HAVE_opencv_cudacodec
)
if
(
HAVE_opencv_cudacodec
)
ocv_include_
directories
(
"
${
OpenCV_SOURCE_DIR
}
/modules/cudacodec/include"
)
ocv_include_
modules_recurse
(
opencv_cudacodec
)
endif
()
endif
()
if
(
HAVE_CUDA
)
if
(
HAVE_CUDA
)
ocv_include_directories
(
${
CUDA_INCLUDE_DIRS
}
)
ocv_include_directories
(
${
CUDA_INCLUDE_DIRS
}
)
endif
()
endif
()
if
(
HAVE_OPENCL
)
ocv_include_directories
(
"
${
OpenCV_SOURCE_DIR
}
/modules/ocl/include"
)
endif
()
if
(
CMAKE_COMPILER_IS_GNUCXX AND NOT ENABLE_NOISY_WARNINGS
)
if
(
CMAKE_COMPILER_IS_GNUCXX AND NOT ENABLE_NOISY_WARNINGS
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wno-unused-function"
)
set
(
CMAKE_C_FLAGS
"
${
CMAKE_C_FLAGS
}
-Wno-unused-function"
)
endif
()
endif
()
...
...
samples/gpu/performance/CMakeLists.txt
View file @
4b7c0b9c
...
@@ -4,11 +4,11 @@ file(GLOB sources "performance/*.cpp")
...
@@ -4,11 +4,11 @@ file(GLOB sources "performance/*.cpp")
file
(
GLOB headers
"performance/*.h"
)
file
(
GLOB headers
"performance/*.h"
)
if
(
HAVE_opencv_xfeatures2d
)
if
(
HAVE_opencv_xfeatures2d
)
ocv_include_
directories
(
"
${
opencv_xfeatures2d_SOURCE_DIR
}
/include"
)
ocv_include_
modules_recurse
(
opencv_xfeatures2d
)
endif
()
endif
()
if
(
HAVE_opencv_bgsegm
)
if
(
HAVE_opencv_bgsegm
)
ocv_include_
directories
(
"
${
opencv_bgsegm_SOURCE_DIR
}
/include"
)
ocv_include_
modules_recurse
(
opencv_bgsegm
)
endif
()
endif
()
add_executable
(
${
the_target
}
${
sources
}
${
headers
}
)
add_executable
(
${
the_target
}
${
sources
}
${
headers
}
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment