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
983e4c13
Commit
983e4c13
authored
May 21, 2019
by
Alexander Alekhin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sfm: fix build with eigen
parent
d24b0251
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
20 deletions
+16
-20
CMakeLists.txt
modules/sfm/src/libmv_light/libmv/base/CMakeLists.txt
+0
-10
CMakeLists.txt
...s/sfm/src/libmv_light/libmv/correspondence/CMakeLists.txt
+6
-3
CMakeLists.txt
modules/sfm/src/libmv_light/libmv/multiview/CMakeLists.txt
+4
-1
CMakeLists.txt
modules/sfm/src/libmv_light/libmv/numeric/CMakeLists.txt
+4
-3
CMakeLists.txt
.../sfm/src/libmv_light/libmv/simple_pipeline/CMakeLists.txt
+2
-3
No files found.
modules/sfm/src/libmv_light/libmv/base/CMakeLists.txt
deleted
100644 → 0
View file @
d24b0251
# define the source files
SET
(
BASE_SRC
)
# define the header files (make the headers appear in IDEs.)
FILE
(
GLOB BASE_HDRS *.h
)
ADD_LIBRARY
(
base STATIC
${
BASE_SRC
}
${
BASE_HDRS
}
)
LIBMV_INSTALL_LIB
(
base
)
\ No newline at end of file
modules/sfm/src/libmv_light/libmv/correspondence/CMakeLists.txt
View file @
983e4c13
...
...
@@ -8,6 +8,10 @@ FILE(GLOB CORRESPONDENCE_HDRS *.h)
ADD_LIBRARY
(
correspondence STATIC
${
CORRESPONDENCE_SRC
}
${
CORRESPONDENCE_HDRS
}
)
TARGET_LINK_LIBRARIES
(
correspondence multiview
)
TARGET_LINK_LIBRARIES
(
correspondence LINK_PRIVATE multiview
)
IF
(
TARGET Eigen3::Eigen
)
TARGET_LINK_LIBRARIES
(
correspondence LINK_PUBLIC Eigen3::Eigen
)
ENDIF
()
LIBMV_INSTALL_LIB
(
correspondence
)
\ No newline at end of file
LIBMV_INSTALL_LIB
(
correspondence
)
modules/sfm/src/libmv_light/libmv/multiview/CMakeLists.txt
View file @
983e4c13
...
...
@@ -17,6 +17,9 @@ SET(MULTIVIEW_SRC conditioning.cc
FILE
(
GLOB MULTIVIEW_HDRS *.h
)
ADD_LIBRARY
(
multiview STATIC
${
MULTIVIEW_SRC
}
${
MULTIVIEW_HDRS
}
)
TARGET_LINK_LIBRARIES
(
multiview
${
GLOG_LIBRARY
}
numeric
)
TARGET_LINK_LIBRARIES
(
multiview LINK_PRIVATE
${
GLOG_LIBRARY
}
numeric
)
IF
(
TARGET Eigen3::Eigen
)
TARGET_LINK_LIBRARIES
(
multiview LINK_PUBLIC Eigen3::Eigen
)
ENDIF
()
LIBMV_INSTALL_LIB
(
multiview
)
modules/sfm/src/libmv_light/libmv/numeric/CMakeLists.txt
View file @
983e4c13
...
...
@@ -7,6 +7,8 @@ FILE(GLOB NUMERIC_HDRS *.h)
ADD_LIBRARY
(
numeric STATIC
${
NUMERIC_SRC
}
${
NUMERIC_HDRS
}
)
TARGET_LINK_LIBRARIES
(
numeric
)
IF
(
TARGET Eigen3::Eigen
)
TARGET_LINK_LIBRARIES
(
numeric LINK_PUBLIC Eigen3::Eigen
)
ENDIF
()
LIBMV_INSTALL_LIB
(
numeric
)
\ No newline at end of file
LIBMV_INSTALL_LIB
(
numeric
)
modules/sfm/src/libmv_light/libmv/simple_pipeline/CMakeLists.txt
View file @
983e4c13
...
...
@@ -17,6 +17,6 @@ FILE(GLOB SIMPLE_PIPELINE_HDRS *.h)
ADD_LIBRARY
(
simple_pipeline STATIC
${
SIMPLE_PIPELINE_SRC
}
${
SIMPLE_PIPELINE_HDRS
}
)
TARGET_LINK_LIBRARIES
(
simple_pipeline multiview
${
CERES_LIBRARIES
}
)
TARGET_LINK_LIBRARIES
(
simple_pipeline
LINK_PRIVATE
multiview
${
CERES_LIBRARIES
}
)
LIBMV_INSTALL_LIB
(
simple_pipeline
)
\ No newline at end of file
LIBMV_INSTALL_LIB
(
simple_pipeline
)
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