Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
1123eaa1
Commit
1123eaa1
authored
Jun 24, 2016
by
Davis King
Browse files
Changed the message that cmake displays when opencv isn't found so users don't get confused.
parent
2b501500
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
examples/CMakeLists.txt
examples/CMakeLists.txt
+3
-1
No files found.
examples/CMakeLists.txt
View file @
1123eaa1
...
@@ -121,12 +121,14 @@ add_example(video_tracking_ex)
...
@@ -121,12 +121,14 @@ add_example(video_tracking_ex)
add_example
(
xml_parser_ex
)
add_example
(
xml_parser_ex
)
find_package
(
OpenCV
)
find_package
(
OpenCV
QUIET
)
if
(
OpenCV_FOUND
)
if
(
OpenCV_FOUND
)
include_directories
(
${
OpenCV_INCLUDE_DIRS
}
)
include_directories
(
${
OpenCV_INCLUDE_DIRS
}
)
ADD_EXECUTABLE
(
webcam_face_pose_ex webcam_face_pose_ex.cpp
)
ADD_EXECUTABLE
(
webcam_face_pose_ex webcam_face_pose_ex.cpp
)
TARGET_LINK_LIBRARIES
(
webcam_face_pose_ex dlib
${
OpenCV_LIBS
}
)
TARGET_LINK_LIBRARIES
(
webcam_face_pose_ex dlib
${
OpenCV_LIBS
}
)
else
()
message
(
"OpenCV not found, so we won't build the webcam_face_pose_ex example."
)
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