Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
O
opencv_contrib
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_contrib
Commits
f82698b7
Commit
f82698b7
authored
Dec 17, 2016
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #904 from alalek:unpack_into_binary
parents
88742e0e
c82c887d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
CMakeLists.txt
modules/dnn/3rdparty/protobuf/CMakeLists.txt
+1
-1
OpenCVFindLibProtobuf.cmake
modules/dnn/cmake/OpenCVFindLibProtobuf.cmake
+1
-1
download_protobuf.cmake
modules/dnn/cmake/download_protobuf.cmake
+1
-1
No files found.
modules/dnn/3rdparty/protobuf/CMakeLists.txt
View file @
f82698b7
...
...
@@ -41,7 +41,7 @@ function(append_if_exist OUTPUT_LIST)
set
(
${
OUTPUT_LIST
}
${${
OUTPUT_LIST
}}
PARENT_SCOPE
)
endfunction
()
set
(
PROTOBUF_ROOT
${
CMAKE_CURRENT_SOURCE_DIR
}
/sources/protobuf-3.1.0
)
set
(
PROTOBUF_ROOT
"
${
PROTOBUF_CPP_PATH
}
/protobuf-3.1.0"
)
if
(
MSVC
)
set
(
ATOMICOPS_INTERNALS
${
PROTOBUF_ROOT
}
/src/google/protobuf/stubs/atomicops_internals_x86_msvc.cc
)
...
...
modules/dnn/cmake/OpenCVFindLibProtobuf.cmake
View file @
f82698b7
...
...
@@ -30,7 +30,7 @@ else()
include
(
${
CMAKE_CURRENT_LIST_DIR
}
/download_protobuf.cmake
)
add_subdirectory
(
${
CMAKE_CURRENT_SOURCE_DIR
}
/3rdparty/protobuf
)
set
(
PROTOBUF_LIBRARIES libprotobuf
)
set
(
PROTOBUF_INCLUDE_DIR
${
CMAKE_CURRENT_SOURCE_DIR
}
/3rdparty/protobuf/sources
/protobuf-3.1.0/src
)
set
(
PROTOBUF_INCLUDE_DIR
${
PROTOBUF_CPP_PATH
}
/protobuf-3.1.0/src
)
endif
()
if
(
NOT UPDATE_PROTO_FILES
)
...
...
modules/dnn/cmake/download_protobuf.cmake
View file @
f82698b7
set
(
PROTOBUF_CPP_NAME
"libprotobuf"
)
set
(
PROTOBUF_CPP_DOWNLOAD_HASH
"bd5e3eed635a8d32e2b99658633815ef"
)
set
(
PROTOBUF_CPP_PATH
"
${
CMAKE_CURRENT_
SOURCE
_DIR
}
/3rdparty/protobuf/sources"
)
# /protobuf-3.1.0 subdirectory
set
(
PROTOBUF_CPP_PATH
"
${
CMAKE_CURRENT_
BINARY
_DIR
}
/3rdparty/protobuf/sources"
)
# /protobuf-3.1.0 subdirectory
set
(
OPENCV_PROTOBUF_CPP_DOWNLOAD_URL
${
OPENCV_PROTOBUF_URL
}
;$ENV{OPENCV_PROTOBUF_URL};https://github.com/google/protobuf/releases/download/
)
...
...
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