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
83b88203
Commit
83b88203
authored
Jun 17, 2015
by
Ruslan Baratov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update samples/cpp/example_cmake: no need to use `include_directories`
parent
f30bf39b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
CMakeLists.txt
samples/cpp/example_cmake/CMakeLists.txt
+4
-2
No files found.
samples/cpp/example_cmake/CMakeLists.txt
View file @
83b88203
...
...
@@ -18,8 +18,10 @@ message(STATUS " version: ${OpenCV_VERSION}")
message
(
STATUS
" libraries:
${
OpenCV_LIBS
}
"
)
message
(
STATUS
" include path:
${
OpenCV_INCLUDE_DIRS
}
"
)
# Add OpenCV headers location to your include paths
include_directories
(
${
OpenCV_INCLUDE_DIRS
}
)
if
(
CMAKE_VERSION VERSION_LESS
"2.8.11"
)
# Add OpenCV headers location to your include paths
include_directories
(
${
OpenCV_INCLUDE_DIRS
}
)
endif
()
# Declare the executable target built from your sources
add_executable
(
opencv_example example.cpp
)
...
...
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