boostorg / boostorg/build

--layout=versioned breaks FindBoost.cmake

未關閉
#273 5 則留言 1 個 reaction 已指派 0 人 在 GitHub 檢視
transition
主要語言
C++
星號
251
分支
63
PR 合併指標
30 天內沒有已合併 PR

描述

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?

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。