File tree Expand file tree Collapse file tree 5 files changed +19
-19
lines changed Expand file tree Collapse file tree 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
8888)
8989
9090set (LIBMV_LIGHT_LIBS
91- correspondence
92- multiview
93- numeric
91+ opencv.sfm. correspondence
92+ opencv.sfm. multiview
93+ opencv.sfm. numeric
9494 ${GLOG_LIBRARIES}
9595 ${GFLAGS_LIBRARIES}
9696)
9797
9898if (Ceres_FOUND)
9999 add_definitions ("-DCERES_FOUND=1" )
100- list (APPEND LIBMV_LIGHT_LIBS simple_pipeline)
100+ list (APPEND LIBMV_LIGHT_LIBS opencv.sfm. simple_pipeline)
101101 if (Ceres_VERSION VERSION_LESS 2.0.0)
102102 list (APPEND LIBMV_LIGHT_INCLUDES "${CERES_INCLUDE_DIRS} " )
103103 endif ()
Original file line number Diff line number Diff line change @@ -6,12 +6,12 @@ SET(CORRESPONDENCE_SRC feature_matching.cc
66# define the header files (make the headers appear in IDEs.)
77FILE (GLOB CORRESPONDENCE_HDRS *.h)
88
9- ADD_LIBRARY (correspondence STATIC ${CORRESPONDENCE_SRC} ${CORRESPONDENCE_HDRS} )
9+ ADD_LIBRARY (opencv.sfm. correspondence STATIC ${CORRESPONDENCE_SRC} ${CORRESPONDENCE_HDRS} )
1010
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)
1212IF (TARGET Eigen3::Eigen)
13- TARGET_LINK_LIBRARIES (correspondence LINK_PUBLIC Eigen3::Eigen)
13+ TARGET_LINK_LIBRARIES (opencv.sfm. correspondence LINK_PUBLIC Eigen3::Eigen)
1414ENDIF ()
1515
1616
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
1616# define the header files (make the headers appear in IDEs.)
1717FILE (GLOB MULTIVIEW_HDRS *.h)
1818
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)
2121IF (TARGET Eigen3::Eigen)
22- TARGET_LINK_LIBRARIES (multiview LINK_PUBLIC Eigen3::Eigen)
22+ TARGET_LINK_LIBRARIES (opencv.sfm. multiview LINK_PUBLIC Eigen3::Eigen)
2323ENDIF ()
2424IF (CERES_LIBRARIES)
25- TARGET_LINK_LIBRARIES (multiview LINK_PRIVATE ${CERES_LIBRARIES} )
25+ TARGET_LINK_LIBRARIES (opencv.sfm. multiview LINK_PRIVATE ${CERES_LIBRARIES} )
2626ENDIF ()
2727
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
55# define the header files (make the headers appear in IDEs.)
66FILE (GLOB NUMERIC_HDRS *.h)
77
8- ADD_LIBRARY (numeric STATIC ${NUMERIC_SRC} ${NUMERIC_HDRS} )
8+ ADD_LIBRARY (opencv.sfm. numeric STATIC ${NUMERIC_SRC} ${NUMERIC_HDRS} )
99
1010IF (TARGET Eigen3::Eigen)
11- TARGET_LINK_LIBRARIES (numeric LINK_PUBLIC Eigen3::Eigen)
11+ TARGET_LINK_LIBRARIES (opencv.sfm. numeric LINK_PUBLIC Eigen3::Eigen)
1212ENDIF ()
1313
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
1515# Define the header files so that they appear in IDEs.
1616FILE (GLOB SIMPLE_PIPELINE_HDRS *.h)
1717
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} )
1919
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} )
2121
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