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
f7c991eb
Commit
f7c991eb
authored
Feb 05, 2018
by
John Cant
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Build SFM with C++11 if Ceres was built with C++11
parent
7e6ae5ce
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
CMakeLists.txt
modules/sfm/CMakeLists.txt
+9
-0
No files found.
modules/sfm/CMakeLists.txt
View file @
f7c991eb
...
...
@@ -63,6 +63,15 @@ else()
message
(
STATUS
"CERES support is disabled. Ceres Solver for reconstruction API is required."
)
endif
()
### COMPILE WITH C++11 IF CERES WAS COMPILED WITH C++11
if
(
Ceres_FOUND
)
list
(
FIND CERES_COMPILED_COMPONENTS
"C++11"
_index
)
if
(
${
_index
}
GREATER -1
)
set
(
CMAKE_CXX_FLAGS
"
${
CMAKE_CXX_FLAGS
}
-std=c++11"
)
endif
()
endif
()
### DEFINE OPENCV SFM MODULE DEPENDENCIES ###
### CREATE OPENCV SFM MODULE ###
...
...
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