arrayfire / arrayfire/arrayfire-ml
Possible anachronism in CMake `target_include_directories`
未關閉
- 主要語言
- C++
- 星號
- 105
- 分支
- 22
- PR 合併指標
- 30 天內沒有已合併 PR
描述
When trying to compile, [line 29 of the CMake file](https://github.com/arrayfire/arrayfire-ml/blob/master/CMakeLists.txt#L29) was giving me trouble. Changing the included item from `ArrayFire::af` to `af` solved the issue. I'm using CMake 3.10.2
See also:
1. https://cmake.org/cmake/help/latest/command/target_include_directories.html
2. https://gitlab.kitware.com/cmake/cmake/issues/15689
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
從 CMakeLists.txt 第 29 行開始,使用 CMake 3.10.2 重現編譯問題。參考連結的 CMake 文件和 issue 15689,比較 ArrayFire::af 和 af 兩種形式。專案不需要所回報的 workaround 即可編譯通過,即表示完成。
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- cmake, cpp
- 領域
- build-system
- Issue 類型
- 缺陷
- 難度
- 2/5
- 預估耗時
- 1-3 小時
- 活躍度
- 停滯
- 描述清晰度
- 基本清楚
- 新手友好度
- 52/100