macos - 即使 brew 安装最新,cmake 也会找到较旧的 libpng 库
问题描述
我有一个需要 1.16 版 libpng 的 Github 工作流程。但是,在 osx 上,cmake Find 会找到旧版本 1.14 的库
Run brew install libpng
Warning: libpng 1.6.37 is already installed and up-to-date.
To reinstall 1.6.37, run:
....
-- Found PNG: /usr/local/lib/libpng.dylib (found version "1.4.12")
-- The system seems to have a libpnb available, it will be used to support PNG files
关于如何让 cmake 找到 brew 版本的任何想法?
解决方案
推荐阅读
- tkinter - 如何在无头 jupyter 笔记本服务器上绘制 nltk 树 [尝试了一堆“解决方案”,但没有一个奏效]
- angular - 有没有办法在动态创建的组件中访问 @Input 变量?
- python - 将 Python 脚本添加到 Ruby Gem
- angularjs - 从springboot modelview对象获取值到角度JS 5
- css - 将文本放在微调器引导程序下
- java - 2 个微调器:从使用 Retrofit 选择的第一个微调器 id 填充第二个微调器
- reactjs - 纱线工作区共享反应组件 babel 错误
- ios - 重绘时保持集合视图单元格重叠
- python - 我正在寻找一个高效的 django 查询集来阻止这么多访问我的数据库
- javascript - 在“if”语句中使用 JSON 对象?