File tree Expand file tree Collapse file tree 5 files changed +16
-16
lines changed
modules/sfm/src/libmv_light/libmv Expand file tree Collapse file tree 5 files changed +16
-16
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -8,6 +8,10 @@ FILE(GLOB CORRESPONDENCE_HDRS *.h)
8
8
9
9
ADD_LIBRARY (correspondence STATIC ${CORRESPONDENCE_SRC} ${CORRESPONDENCE_HDRS} )
10
10
11
- TARGET_LINK_LIBRARIES (correspondence multiview )
11
+ TARGET_LINK_LIBRARIES (correspondence LINK_PRIVATE multiview )
12
+ IF (TARGET Eigen3::Eigen )
13
+ TARGET_LINK_LIBRARIES (correspondence LINK_PUBLIC Eigen3::Eigen )
14
+ ENDIF ()
12
15
13
- LIBMV_INSTALL_LIB (correspondence )
16
+
17
+ LIBMV_INSTALL_LIB (correspondence )
Original file line number Diff line number Diff line change @@ -17,6 +17,9 @@ SET(MULTIVIEW_SRC conditioning.cc
17
17
FILE (GLOB MULTIVIEW_HDRS *.h )
18
18
19
19
ADD_LIBRARY (multiview STATIC ${MULTIVIEW_SRC} ${MULTIVIEW_HDRS} )
20
- TARGET_LINK_LIBRARIES (multiview ${GLOG_LIBRARY} numeric )
20
+ TARGET_LINK_LIBRARIES (multiview LINK_PRIVATE ${GLOG_LIBRARY} numeric )
21
+ IF (TARGET Eigen3::Eigen )
22
+ TARGET_LINK_LIBRARIES (multiview LINK_PUBLIC Eigen3::Eigen )
23
+ ENDIF ()
21
24
22
25
LIBMV_INSTALL_LIB (multiview )
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ FILE(GLOB NUMERIC_HDRS *.h)
7
7
8
8
ADD_LIBRARY (numeric STATIC ${NUMERIC_SRC} ${NUMERIC_HDRS} )
9
9
10
- TARGET_LINK_LIBRARIES (numeric )
10
+ IF (TARGET Eigen3::Eigen )
11
+ TARGET_LINK_LIBRARIES (numeric LINK_PUBLIC Eigen3::Eigen )
12
+ ENDIF ()
11
13
12
- LIBMV_INSTALL_LIB (numeric )
14
+ LIBMV_INSTALL_LIB (numeric )
Original file line number Diff line number Diff line change @@ -17,6 +17,6 @@ FILE(GLOB SIMPLE_PIPELINE_HDRS *.h)
17
17
18
18
ADD_LIBRARY (simple_pipeline STATIC ${SIMPLE_PIPELINE_SRC} ${SIMPLE_PIPELINE_HDRS} )
19
19
20
- TARGET_LINK_LIBRARIES (simple_pipeline multiview ${CERES_LIBRARIES} )
20
+ TARGET_LINK_LIBRARIES (simple_pipeline LINK_PRIVATE multiview ${CERES_LIBRARIES} )
21
21
22
- LIBMV_INSTALL_LIB (simple_pipeline )
22
+ LIBMV_INSTALL_LIB (simple_pipeline )
You can’t perform that action at this time.
0 commit comments