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
69c4e84d
Commit
69c4e84d
authored
Jul 15, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6918 from jet47:gpu-opengl-sample-build
parents
464aa5e5
9f3b1f7e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
samples/gpu/CMakeLists.txt
+4
-4
No files found.
samples/gpu/CMakeLists.txt
View file @
69c4e84d
...
@@ -81,9 +81,9 @@ if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
...
@@ -81,9 +81,9 @@ if(BUILD_EXAMPLES AND OCV_DEPENDENCIES_FOUND)
file
(
GLOB all_samples RELATIVE
${
CMAKE_CURRENT_SOURCE_DIR
}
*.cpp
)
file
(
GLOB all_samples RELATIVE
${
CMAKE_CURRENT_SOURCE_DIR
}
*.cpp
)
if
(
NOT
WITH
_OPENGL
)
if
(
NOT
HAVE
_OPENGL
)
list
(
REMOVE_ITEM all_samples
"opengl.cpp"
)
list
(
REMOVE_ITEM all_samples
"opengl.cpp"
)
endif
(
NOT WITH_OPENGL
)
endif
()
foreach
(
sample_filename
${
all_samples
}
)
foreach
(
sample_filename
${
all_samples
}
)
get_filename_component
(
sample
${
sample_filename
}
NAME_WE
)
get_filename_component
(
sample
${
sample_filename
}
NAME_WE
)
...
@@ -96,9 +96,9 @@ endif()
...
@@ -96,9 +96,9 @@ endif()
if
(
INSTALL_C_EXAMPLES AND NOT WIN32
)
if
(
INSTALL_C_EXAMPLES AND NOT WIN32
)
file
(
GLOB install_list *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd
)
file
(
GLOB install_list *.c *.cpp *.jpg *.png *.data makefile.* build_all.sh *.dsp *.cmd
)
if
(
NOT
WITH
_OPENGL
)
if
(
NOT
HAVE
_OPENGL
)
list
(
REMOVE_ITEM install_list
"opengl.cpp"
)
list
(
REMOVE_ITEM install_list
"opengl.cpp"
)
endif
(
NOT WITH_OPENGL
)
endif
()
install
(
FILES
${
install_list
}
install
(
FILES
${
install_list
}
DESTINATION
${
OPENCV_SAMPLES_SRC_INSTALL_PATH
}
/gpu
DESTINATION
${
OPENCV_SAMPLES_SRC_INSTALL_PATH
}
/gpu
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples
)
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples
)
...
...
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