CMake < 3.10 fails

Đang mở
#688 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
Nửa ngày
Mức phù hợp với người mới
45/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cmake, cpp
Lĩnh vực
build-system

Hướng nghiên cứu

The failure is raised at libs/graph/CMakeLists.txt line 9, where add_library links Boost::int128, which is not found under CMake 3.8. Start with that file, then check how the int128 dependency's CMakeLists.txt sets its minimum CMake version, since the report says it requires 3.10. Done when the failing CI job in the linked run configures and builds on the 3.8 default.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

infra priority: high
CMake Error at libs/graph/CMakeLists.txt:9 (add_library):
  Target "boost_graph" links to target "Boost::int128" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

https://github.com/boostorg/cmake/actions/runs/41255567566/job/124785840737

That's because int128 requires CMake 3.10 in its CMakeLists.txt for some reason, instead of our default of 3.8.

Ngôn ngữ chính
C++
Star
402
Fork
251
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
38

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của boostorg/graph

Tất cả issue của boostorg/graph

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.