Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
S
stitchEm
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Franco (nextime) Lanza
stitchEm
Commits
d5364541
Commit
d5364541
authored
May 04, 2019
by
Wieland Morgenstern
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
WIN_CHOCO FindOpenCV
parent
253eb8ce
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
9 deletions
+13
-9
FindOpenCV.cmake
cmake/FindOpenCV.cmake
+13
-9
No files found.
cmake/FindOpenCV.cmake
View file @
d5364541
if
(
WINDOWS
)
if
(
WIN_CHOCO
)
find_package
(
OpenCV REQUIRED core calib3d features2d imgproc flann video PATHS C:/tools/opencv/build NO_DEFAULT_PATH
)
else
()
find_debug_and_optimized_library
(
OpenCV_CORE_LIBS
"opencv2/Debug"
"opencv_core310d"
"opencv2/Release"
"opencv_core310"
)
find_debug_and_optimized_library
(
OpenCV_CALIB_LIBS
"opencv2/Debug"
"opencv_calib3d310d"
"opencv2/Release"
"opencv_calib3d310"
)
find_debug_and_optimized_library
(
OpenCV_FEATURES_LIBS
"opencv2/Debug"
"opencv_features2d310d"
"opencv2/Release"
"opencv_features2d310"
)
...
...
@@ -8,6 +11,7 @@ if(WINDOWS)
find_debug_and_optimized_library
(
OpenCV_VIDEO_LIBS
"opencv2/Debug"
"opencv_video310d"
"opencv2/Release"
"opencv_video310"
)
set
(
OpenCV_LIBRARIES
${
OpenCV_CORE_LIBS
}
${
OpenCV_CALIB_LIBS
}
${
OpenCV_FEATURES_LIBS
}
${
OpenCV_IMGPROC_LIBS
}
${
OpenCV_FLANN_LIBS
}
${
OpenCV_VIDEO_LIBS
}
)
set
(
OpenCV_INCLUDE_DIRS
${
CMAKE_EXTERNAL_DEPS
}
/include/opencv2
)
endif
()
endif
()
...
...
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