@@ -553,75 +553,6 @@ endif()
553553# Include the subdirectories
554554add_subdirectory (g2o )
555555
556- # Create alias targets for easier usage when included as subdirectory
557- # Core libraries
558- if (TARGET core)
559- add_library (g2o::core ALIAS core )
560- endif ()
561- if (TARGET stuff)
562- add_library (g2o::stuff ALIAS stuff )
563- endif ()
564- if (TARGET g2o_ceres_ad)
565- add_library (g2o::g2o_ceres_ad ALIAS g2o_ceres_ad )
566- endif ()
567- if (TARGET opengl_helper)
568- add_library (g2o::opengl_helper ALIAS opengl_helper )
569- endif ()
570-
571- # Type libraries
572- if (TARGET types_data)
573- add_library (g2o::types_data ALIAS types_data )
574- endif ()
575- if (TARGET types_icp)
576- add_library (g2o::types_icp ALIAS types_icp )
577- endif ()
578- if (TARGET types_sba)
579- add_library (g2o::types_sba ALIAS types_sba )
580- endif ()
581- if (TARGET types_sclam2d)
582- add_library (g2o::types_sclam2d ALIAS types_sclam2d )
583- endif ()
584- if (TARGET types_sim3)
585- add_library (g2o::types_sim3 ALIAS types_sim3 )
586- endif ()
587- if (TARGET types_slam2d)
588- add_library (g2o::types_slam2d ALIAS types_slam2d )
589- endif ()
590- if (TARGET types_slam2d_addons)
591- add_library (g2o::types_slam2d_addons ALIAS types_slam2d_addons )
592- endif ()
593- if (TARGET types_slam3d)
594- add_library (g2o::types_slam3d ALIAS types_slam3d )
595- endif ()
596- if (TARGET types_slam3d_addons)
597- add_library (g2o::types_slam3d_addons ALIAS types_slam3d_addons )
598- endif ()
599-
600- # Solver libraries
601- if (TARGET solver_cholmod)
602- add_library (g2o::solver_cholmod ALIAS solver_cholmod )
603- endif ()
604- if (TARGET csparse_extension)
605- add_library (g2o::csparse_extension ALIAS csparse_extension )
606- endif ()
607- if (TARGET solver_csparse)
608- add_library (g2o::solver_csparse ALIAS solver_csparse )
609- endif ()
610- if (TARGET solver_dense)
611- add_library (g2o::solver_dense ALIAS solver_dense )
612- endif ()
613- if (TARGET solver_eigen)
614- add_library (g2o::solver_eigen ALIAS solver_eigen )
615- endif ()
616- if (TARGET solver_pcg)
617- add_library (g2o::solver_pcg ALIAS solver_pcg )
618- endif ()
619- if (TARGET solver_slam2d_linear)
620- add_library (g2o::solver_slam2d_linear ALIAS solver_slam2d_linear )
621- endif ()
622- if (TARGET solver_structure_only)
623- add_library (g2o::solver_structure_only ALIAS solver_structure_only )
624- endif ()
625556
626557option (G2O_BUILD_BENCHMARKS "build benchmarks" OFF )
627558
0 commit comments