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
fc5be800
Commit
fc5be800
authored
Dec 15, 2015
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #471 from maccesch:master
parents
b178436e
72281187
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
5 deletions
+9
-5
CMakeLists.txt
modules/sfm/CMakeLists.txt
+9
-5
No files found.
modules/sfm/CMakeLists.txt
View file @
fc5be800
...
...
@@ -5,11 +5,15 @@ set(the_description "SFM algorithms")
find_package
(
Ceres QUIET
)
if
(
NOT DEFINED SFM_DEPS_OK
)
if
(
NOT DEFINED GFLAGS_LIBRARIES
)
set
(
GFLAGS_LIBRARIES
"gflags"
)
endif
()
if
(
NOT DEFINED GLOG_LIBRARIES
)
set
(
GLOG_LIBRARIES
"glog"
)
endif
()
if
(
NOT DEFINED GLOG_LIBRARIES
)
set
(
GLOG_LIBRARIES
"glog"
)
endif
()
if
(
NOT DEFINED SFM_DEPS_OK
)
set
(
_fname
"
${
CMAKE_CURRENT_BINARY_DIR
}
/test_sfm_deps.cpp"
)
file
(
WRITE
"
${
_fname
}
"
"#include <glog/logging.h>
\n
#include <gflags/gflags.h>
\n
int main() { (void)(0); return 0; }
\n
"
)
...
...
@@ -96,7 +100,7 @@ ocv_module_include_directories()
FILE
(
GLOB OPENCV_SFM_SRC src/*.cpp
)
# define the header files (make the headers appear in IDEs.)
FILE
(
GLOB OPENCV_SFM_HDRS include/opencv2/sfm/*.hpp
)
FILE
(
GLOB OPENCV_SFM_HDRS include/opencv2/sfm
.hpp include/opencv2/sfm
/*.hpp
)
ocv_set_module_sources
(
HEADERS
${
OPENCV_SFM_HDRS
}
SOURCES
${
OPENCV_SFM_SRC
}
)
...
...
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