cmake - InstallRequiredSystemLibraries 目的

标签 cmake

请解释 CMakeLists.txt 中这一行的目的是什么:

包括(InstallRequiredSystemLibraries)

我在 CMake 示例中看到这一行,但找不到好的解释,为什么我需要它。

最佳答案

它确实在安装程序中包含 Microsoft 可再发行组件。对于Linux,我不知道。

关于cmake - InstallRequiredSystemLibraries 目的,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4134725/

相关文章:

c++ - 用于 OpenWRT 的 CMake/Linker 交叉编译

c++ - KDevelop4 : target build directory doubled after importing CMakeList. 文本文件

c++ - 使用 CMAKE 调试和发布库链接 (VISUAL STUDIO)

opencv - Kurento:OpenCV 模块中的链接库

c++ - cmake + cpp : No such file or directory

c++ - 在 CMake 中仅指定某些源文件

build - 详细的 cmake : How to get more diagnostics?

c++ - 在 CMake 中添加 C++0x 支持

c++ - 编译 cpp 文件时出错 (ros)

c++ - Visual Studio 2017 - 为依赖项禁用 CMake