CMake < 3.10 fails

Aperta
#688 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
Mezza giornata
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cmake, cpp
Ambito
build-system

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
C++
Stelle
402
Fork
251
Merge medio
1g 9h
PR unite (30g)
38

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di boostorg/graph

Tutte le issue di boostorg/graph

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.