CMake files do not automatically download the libraries when ran
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- cmake, cpp
- 领域
- build-system
调研方向
Start by reading FindSol.cmake and FindRaylib.cmake, then reproduce the dependency lookup on OS X 10.15.1 with the existing find_package and FetchContent flow. Check whether the sol2 and raylib libraries are detected or downloaded as intended, and confirm that the project completes its build without requiring the invalid VERBOSE flag.
由索引模型根据 Issue 内容生成。
描述
Hi,
The files FindSol.cmake and FindRaylib.cmake do not automatically download the libraries on OS X 10.15.1.
If you change the flag QUIET to VERBOSE it fails but then carries on to download and building steps:
find_package(sol 3.0 VERBOSE)
if (NOT sol_FOUND)
include(FetchContent)
FetchContent_Declare(
sol
GIT_REPOSITORY https://github.com/ThePhD/sol2.git
GIT_TAG 6d4a5d3ef66d605c54093edb673c14e373969a08
)
FetchContent_GetProperties(sol)
if (NOT sol_POPULATED) # Have we downloaded sol2 yet?
set(FETCHCONTENT_QUIET NO)
FetchContent_Populate(sol)
add_subdirectory(${sol_SOURCE_DIR} ${sol_BINARY_DIR})
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake" "${sol_SOURCE_DIR}/cmake" "${sol_SOURCE_DIR}/cmake/Modules")
endif()
endif()
The verbose flag is not valid so it carries on, i installed raylib view brew but it didn't find the libraries in the first place.
- 主要语言
- C++
- 星标
- 120
- 派生
- 22
- 平均合并
- 50 分钟
- 30 天内合并 PR
- 1
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
RobLoach/raylib-lua-sol 的其他 Issue
-
难度 5/5 一周以上 新手友好度 25/100
RobLoach/raylib-lua-sol#49 ·
-
难度 3/5 1-2 天 新手友好度 42/100
RobLoach/raylib-lua-sol#46 · 2 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 35/100
RobLoach/raylib-lua-sol#45 · 7 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
RobLoach/raylib-lua-sol#44 ·
-
难度 1/5 1 小时以内 新手友好度 48/100
RobLoach/raylib-lua-sol#41 · 5 条评论 ·
查看 RobLoach/raylib-lua-sol 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 86/100
-
Sensor initialization takes very long when `--initial-sim-time` is set to current UNIX timestamp 未关闭
难度 2/5 1-3 小时 新手友好度 78/100
gazebosim/gz-sensors#662 · 1 条评论 ·
-
enhancement
难度 2/5 1-3 小时 新手友好度 76/100
-
comp-datalake
难度 2/5 1-3 小时 新手友好度 88/100
ClickHouse/ClickHouse#121222 ·
-
难度 2/5 1-3 小时 新手友好度 68/100
LadybirdBrowser/ladybird#12123 ·