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
a1791c6b
Commit
a1791c6b
authored
Jul 29, 2014
by
Vadim Pisarevsky
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3016 from fradelg:master
parents
27780248
b8bc9967
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
OpenCVFindOpenNI2.cmake
cmake/OpenCVFindOpenNI2.cmake
+3
-3
No files found.
cmake/OpenCVFindOpenNI2.cmake
View file @
a1791c6b
...
...
@@ -21,13 +21,13 @@ if(WIN32)
find_library
(
OPENNI2_LIBRARY
"OpenNI2"
PATHS $ENV{OPENNI2_LIB64} DOC
"OpenNI2 library"
)
endif
()
elseif
(
UNIX OR APPLE
)
find_file
(
OPENNI_INCLUDES
"OpenNI.h"
PATHS
"/usr/include/ni2"
"/usr/include/openni2"
DOC
"OpenNI2 c++ interface header"
)
find_library
(
OPENNI_LIBRARY
"OpenNI2"
PATHS
"/usr/lib"
DOC
"OpenNI2 library"
)
find_file
(
OPENNI
2
_INCLUDES
"OpenNI.h"
PATHS
"/usr/include/ni2"
"/usr/include/openni2"
DOC
"OpenNI2 c++ interface header"
)
find_library
(
OPENNI
2
_LIBRARY
"OpenNI2"
PATHS
"/usr/lib"
DOC
"OpenNI2 library"
)
endif
()
if
(
OPENNI2_LIBRARY AND OPENNI2_INCLUDES
)
set
(
HAVE_OPENNI2 TRUE
)
endif
()
#if(OPENNI
_LIBRARY AND OPENNI
_INCLUDES)
endif
()
#if(OPENNI
2_LIBRARY AND OPENNI2
_INCLUDES)
get_filename_component
(
OPENNI2_LIB_DIR
"
${
OPENNI2_LIBRARY
}
"
PATH
)
get_filename_component
(
OPENNI2_INCLUDE_DIR
${
OPENNI2_INCLUDES
}
PATH
)
...
...
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