File tree 5 files changed +19
-19
lines changed
5 files changed +19
-19
lines changed Original file line number Diff line number Diff line change @@ -88,16 +88,16 @@ set(LIBMV_LIGHT_INCLUDES
88
88
)
89
89
90
90
set (LIBMV_LIGHT_LIBS
91
- correspondence
92
- multiview
93
- numeric
91
+ opencv.sfm. correspondence
92
+ opencv.sfm. multiview
93
+ opencv.sfm. numeric
94
94
${GLOG_LIBRARIES}
95
95
${GFLAGS_LIBRARIES}
96
96
)
97
97
98
98
if (Ceres_FOUND)
99
99
add_definitions ("-DCERES_FOUND=1" )
100
- list (APPEND LIBMV_LIGHT_LIBS simple_pipeline)
100
+ list (APPEND LIBMV_LIGHT_LIBS opencv.sfm. simple_pipeline)
101
101
if (Ceres_VERSION VERSION_LESS 2.0.0)
102
102
list (APPEND LIBMV_LIGHT_INCLUDES "${CERES_INCLUDE_DIRS} " )
103
103
endif ()
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ SET(CORRESPONDENCE_SRC feature_matching.cc
6
6
# define the header files (make the headers appear in IDEs.)
7
7
FILE (GLOB CORRESPONDENCE_HDRS *.h)
8
8
9
- ADD_LIBRARY (correspondence STATIC ${CORRESPONDENCE_SRC} ${CORRESPONDENCE_HDRS} )
9
+ ADD_LIBRARY (opencv.sfm. correspondence STATIC ${CORRESPONDENCE_SRC} ${CORRESPONDENCE_HDRS} )
10
10
11
- ocv_target_link_libraries(correspondence LINK_PRIVATE ${GLOG_LIBRARIES} multiview opencv_imgcodecs)
11
+ ocv_target_link_libraries(opencv.sfm. correspondence LINK_PRIVATE ${GLOG_LIBRARIES} opencv.sfm. multiview opencv_imgcodecs)
12
12
IF (TARGET Eigen3::Eigen)
13
- TARGET_LINK_LIBRARIES (correspondence LINK_PUBLIC Eigen3::Eigen)
13
+ TARGET_LINK_LIBRARIES (opencv.sfm. correspondence LINK_PUBLIC Eigen3::Eigen)
14
14
ENDIF ()
15
15
16
16
17
- LIBMV_INSTALL_LIB(correspondence)
17
+ LIBMV_INSTALL_LIB(opencv.sfm. correspondence)
Original file line number Diff line number Diff line change @@ -16,13 +16,13 @@ SET(MULTIVIEW_SRC conditioning.cc
16
16
# define the header files (make the headers appear in IDEs.)
17
17
FILE (GLOB MULTIVIEW_HDRS *.h)
18
18
19
- ADD_LIBRARY (multiview STATIC ${MULTIVIEW_SRC} ${MULTIVIEW_HDRS} )
20
- TARGET_LINK_LIBRARIES (multiview LINK_PRIVATE ${GLOG_LIBRARIES} numeric)
19
+ ADD_LIBRARY (opencv.sfm. multiview STATIC ${MULTIVIEW_SRC} ${MULTIVIEW_HDRS} )
20
+ TARGET_LINK_LIBRARIES (opencv.sfm. multiview LINK_PRIVATE ${GLOG_LIBRARIES} opencv.sfm. numeric)
21
21
IF (TARGET Eigen3::Eigen)
22
- TARGET_LINK_LIBRARIES (multiview LINK_PUBLIC Eigen3::Eigen)
22
+ TARGET_LINK_LIBRARIES (opencv.sfm. multiview LINK_PUBLIC Eigen3::Eigen)
23
23
ENDIF ()
24
24
IF (CERES_LIBRARIES)
25
- TARGET_LINK_LIBRARIES (multiview LINK_PRIVATE ${CERES_LIBRARIES} )
25
+ TARGET_LINK_LIBRARIES (opencv.sfm. multiview LINK_PRIVATE ${CERES_LIBRARIES} )
26
26
ENDIF ()
27
27
28
- LIBMV_INSTALL_LIB(multiview)
28
+ LIBMV_INSTALL_LIB(opencv.sfm. multiview)
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ SET(NUMERIC_SRC numeric.cc
5
5
# define the header files (make the headers appear in IDEs.)
6
6
FILE (GLOB NUMERIC_HDRS *.h)
7
7
8
- ADD_LIBRARY (numeric STATIC ${NUMERIC_SRC} ${NUMERIC_HDRS} )
8
+ ADD_LIBRARY (opencv.sfm. numeric STATIC ${NUMERIC_SRC} ${NUMERIC_HDRS} )
9
9
10
10
IF (TARGET Eigen3::Eigen)
11
- TARGET_LINK_LIBRARIES (numeric LINK_PUBLIC Eigen3::Eigen)
11
+ TARGET_LINK_LIBRARIES (opencv.sfm. numeric LINK_PUBLIC Eigen3::Eigen)
12
12
ENDIF ()
13
13
14
- LIBMV_INSTALL_LIB(numeric)
14
+ LIBMV_INSTALL_LIB(opencv.sfm. numeric)
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ SET(SIMPLE_PIPELINE_SRC
15
15
# Define the header files so that they appear in IDEs.
16
16
FILE (GLOB SIMPLE_PIPELINE_HDRS *.h)
17
17
18
- ADD_LIBRARY (simple_pipeline STATIC ${SIMPLE_PIPELINE_SRC} ${SIMPLE_PIPELINE_HDRS} )
18
+ ADD_LIBRARY (opencv.sfm. simple_pipeline STATIC ${SIMPLE_PIPELINE_SRC} ${SIMPLE_PIPELINE_HDRS} )
19
19
20
- TARGET_LINK_LIBRARIES (simple_pipeline LINK_PRIVATE multiview ${CERES_LIBRARIES} )
20
+ TARGET_LINK_LIBRARIES (opencv.sfm. simple_pipeline LINK_PRIVATE opencv.sfm. multiview ${CERES_LIBRARIES} )
21
21
22
- LIBMV_INSTALL_LIB(simple_pipeline)
22
+ LIBMV_INSTALL_LIB(opencv.sfm. simple_pipeline)
You can’t perform that action at this time.
0 commit comments