intel / intel/cpp-std-extensions

CPM usage conflicts if Boost is already included

オープン
#353 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
C++
スター
127
フォーク
18
平均マージ
11時間 45分
マージ済み PR(30日)
13

説明

If Boost has been added via CPM via something like:

```
add_versioned_package(
NAME Boost
VERSION 1.88.0
GITHUB_REPOSITORY "boostorg/boost"
GIT_TAG "boost-1.88.0"
)
```

then there is an error:

```
CMake Error at /path/to/cpm_cache/mp11/bf7aae5c18316ffffb3d7e62dc3f8423b7c968b1/CMakeLists.txt:9 (add_library):
add_library cannot create target "boost_mp11" because another target with
the same name already exists. The existing target is an interface library
```

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。