CPM.cmake icon indicating copy to clipboard operation
CPM.cmake copied to clipboard

📦 CMake's missing package manager. A small CMake script for setup-free, cross-platform, reproducible dependency management.

Results 191 CPM.cmake issues
Sort by recently updated
recently updated
newest added

I have tried to build it, but without success. It's too difficult.

As far as I can tell, CPM has currently 'git' as a hard dependency but it does not warn the user if git is missing. Currently, if git is missing,...

Been trying to build project with CPM.cmake that uses [imgui-sfml](https://github.com/SFML/imgui-sfml). I took example from [github.com/cpm-cmake/CPM.cmake/wiki/More-Snippets#SFML-IMGUI](https://github.com/cpm-cmake/CPM.cmake/wiki/More-Snippets#SFML-IMGUI) Simple CMakeLists.txt file without any projects just simply adding packages as in example: ````cmake cmake_minimum_required(VERSION...

Related: #192 Minimal structure: ``` . ├── CMakeLists.txt ├── get_cpm.cmake ├── libA │ └── CMakeLists.txt └── libB └── CMakeLists.txt ``` Here, both `libA` and `libB` use the same `get_cpm.cmake` to...

Cmake versions older than 3.25 do not have the [`SYSTEM` target property](https://cmake.org/cmake/help/latest/prop_tgt/SYSTEM.html#prop_tgt:SYSTEM). > Entries of [INTERFACE_INCLUDE_DIRECTORIES](https://cmake.org/cmake/help/latest/prop_tgt/INTERFACE_INCLUDE_DIRECTORIES.html#prop_tgt:INTERFACE_INCLUDE_DIRECTORIES) are treated as system include directories when compiling consumers. Its possible to move all...

I have thought a lot about if it wouldn't be a great idea with a option to make the build failing if a source is corrupt/dirty. It could even be...

I am trying to get the following use case to work: 1. Set CPM_USE_LOCAL_PACKAGES to ON 2. Use CPMAddPackage to add a package, with a specific version 3. Use the...