boostorg / boostorg/build

--layout=versioned breaks FindBoost.cmake

Aperta
#273 5 commenti 1 reazione 0 assegnatari Vedi su GitHub
transition
Lingua principale
C++
Stelle
251
Fork
63
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

As of the new 1.66 release, it appears that `--layout=versioned` generates the address-model into the library names. This was previously [discussed](https://groups.google.com/forum/#!searchin/boost-developers-archive/dimov$20x64%7Csort:date/boost-developers-archive/G4Bmy_FuBEM/lCKoAf-4BgAJ) on the developers mailinglist.

On Linux, the dynamic link libraries have now the names in the following encoding (the x64 part is new):

> libboost_unit_test_framework-gcc-mt-x64-1_66.so

However, FindBoost.cmake (as of the latest CMake 3.10) is not aware of the x64 part in the library name.

**Questions**: how can I suppress the x64 part using bjam while still using `--layout=versioned`? Or, alternatively, how can I tell CMake to look for a library with x64 in its name?

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.