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
12d42768
Commit
12d42768
authored
Apr 10, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Slightly improved cmake status report
parent
18067c8e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
CMakeLists.txt
CMakeLists.txt
+1
-1
OpenCVUtils.cmake
cmake/OpenCVUtils.cmake
+3
-0
No files found.
CMakeLists.txt
View file @
12d42768
...
...
@@ -822,7 +822,7 @@ if(UNIX AND NOT APPLE)
else
()
set
(
HAVE_CAMV4L2_STR
"NO"
)
endif
()
status
(
" V4L/V4L2:"
HAVE_LIBV4L THEN
"Using libv4l (ver
${
ALIASOF_libv4l1_VERSION
}
)"
ELSE
"
${
HAVE_CAMV4L_STR
}
/
${
HAVE_CAMV4L2_STR
}
(ver
${
ALIASOF_libv4l1_VERSION
}
)
"
)
status
(
" V4L/V4L2:"
HAVE_LIBV4L THEN
"Using libv4l (ver
${
ALIASOF_libv4l1_VERSION
}
)"
ELSE
"
${
HAVE_CAMV4L_STR
}
/
${
HAVE_CAMV4L2_STR
}
"
)
status
(
" Xine:"
HAVE_XINE THEN
"YES (ver
${
ALIASOF_libxine_VERSION
}
"
ELSE NO
)
if
(
ANDROID
)
...
...
cmake/OpenCVUtils.cmake
View file @
12d42768
...
...
@@ -151,13 +151,16 @@ function(status text)
if
(
DEFINED status_then OR DEFINED status_else
)
if
(
${
status_cond
}
)
string
(
REPLACE
";"
" "
status_then
"
${
status_then
}
"
)
string
(
REGEX REPLACE
"^[
\t
]+"
""
status_then
"
${
status_then
}
"
)
ocv_output_status
(
"
${
status_text
}
${
status_then
}
"
)
else
()
string
(
REPLACE
";"
" "
status_else
"
${
status_else
}
"
)
string
(
REGEX REPLACE
"^[
\t
]+"
""
status_else
"
${
status_else
}
"
)
ocv_output_status
(
"
${
status_text
}
${
status_else
}
"
)
endif
()
else
()
string
(
REPLACE
";"
" "
status_cond
"
${
status_cond
}
"
)
string
(
REGEX REPLACE
"^[
\t
]+"
""
status_cond
"
${
status_cond
}
"
)
ocv_output_status
(
"
${
status_text
}
${
status_cond
}
"
)
endif
()
else
()
...
...
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