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
c208b58e
Commit
c208b58e
authored
Apr 09, 2012
by
Andrey Kamaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing TBB search and zlib version detection
parent
75ad9b98
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
OpenCVDetectTBB.cmake
cmake/OpenCVDetectTBB.cmake
+1
-1
OpenCVIOLibs.cmake
cmake/OpenCVIOLibs.cmake
+3
-0
No files found.
cmake/OpenCVDetectTBB.cmake
View file @
c208b58e
...
@@ -20,7 +20,7 @@ endif()
...
@@ -20,7 +20,7 @@ endif()
if
(
NOT HAVE_TBB
)
if
(
NOT HAVE_TBB
)
set
(
TBB_DEFAULT_INCLUDE_DIRS
"/opt/intel/tbb"
"/usr/local/include"
"/usr/include"
"C:/Program Files/Intel/TBB"
"C:/Program Files (x86)/Intel/TBB"
"C:/Program Files (x86)/TBB"
"
${
CMAKE_INSTALL_PREFIX
}
/include"
)
set
(
TBB_DEFAULT_INCLUDE_DIRS
"/opt/intel/tbb"
"/usr/local/include"
"/usr/include"
"C:/Program Files/Intel/TBB"
"C:/Program Files (x86)/Intel/TBB"
"C:/Program Files (x86)/TBB"
"
${
CMAKE_INSTALL_PREFIX
}
/include"
)
find_path
(
TBB_INCLUDE_DIRS
"tbb/tbb.h"
PATHS
${
TBB_DEFAULT_INCLUDE_DIRS
}
DOC
"The path to TBB headers"
)
find_path
(
TBB_INCLUDE_DIRS
"tbb/tbb.h"
PATHS
${
TBB_
INCLUDE_DIR
}
${
TBB_
DEFAULT_INCLUDE_DIRS
}
DOC
"The path to TBB headers"
)
if
(
TBB_INCLUDE_DIRS
)
if
(
TBB_INCLUDE_DIRS
)
if
(
UNIX
)
if
(
UNIX
)
set
(
TBB_LIB_DIR
"
${
TBB_INCLUDE_DIRS
}
/../lib"
CACHE PATH
"Full path of TBB library directory"
)
set
(
TBB_LIB_DIR
"
${
TBB_INCLUDE_DIRS
}
/../lib"
CACHE PATH
"Full path of TBB library directory"
)
...
...
cmake/OpenCVIOLibs.cmake
View file @
c208b58e
...
@@ -16,6 +16,9 @@ else()
...
@@ -16,6 +16,9 @@ else()
ocv_parse_header2
(
ZLIB
"
${
ANDROID_SYSROOT
}
/usr/include/zlib.h"
ZLIB_VERSION
""
)
ocv_parse_header2
(
ZLIB
"
${
ANDROID_SYSROOT
}
/usr/include/zlib.h"
ZLIB_VERSION
""
)
else
()
else
()
include
(
FindZLIB
)
include
(
FindZLIB
)
if
(
NOT ZLIB_VERSION_STRING
)
ocv_parse_header2
(
ZLIB
"
${
ZLIB_INCLUDE_DIR
}
/zlib.h"
ZLIB_VERSION
""
)
endif
()
endif
()
endif
()
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