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
decebeea
Commit
decebeea
authored
Aug 22, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3140 from braindevices:master
parents
887a9502
a218bdb0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
OpenCVModule.cmake
cmake/OpenCVModule.cmake
+11
-1
No files found.
cmake/OpenCVModule.cmake
View file @
decebeea
...
...
@@ -945,9 +945,19 @@ function(ocv_add_samples)
endif
()
if
(
INSTALL_C_EXAMPLES AND NOT WIN32 AND EXISTS
"
${
samples_path
}
"
)
file
(
GLOB sample_files
"
${
samples_path
}
/*"
)
file
(
GLOB DEPLOY_FILES_AND_DIRS
"
${
samples_path
}
/*"
)
foreach
(
ITEM
${
DEPLOY_FILES_AND_DIRS
}
)
IF
(
IS_DIRECTORY
"
${
ITEM
}
"
)
LIST
(
APPEND sample_dirs
"
${
ITEM
}
"
)
ELSE
()
LIST
(
APPEND sample_files
"
${
ITEM
}
"
)
ENDIF
()
endforeach
()
install
(
FILES
${
sample_files
}
DESTINATION
${
OPENCV_SAMPLES_SRC_INSTALL_PATH
}
/
${
module_id
}
PERMISSIONS OWNER_READ GROUP_READ WORLD_READ COMPONENT samples
)
install
(
DIRECTORY
${
sample_dirs
}
DESTINATION
${
OPENCV_SAMPLES_SRC_INSTALL_PATH
}
/
${
module_id
}
USE_SOURCE_PERMISSIONS COMPONENT samples
)
endif
()
endfunction
()
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