Releases: cpm-cmake/CPM.cmake
Releases · cpm-cmake/CPM.cmake
source cache fixes
CPM_SOURCE_CACHE
should now work offline again and on windows.
v0.18
suppress package not found warning in CPMFindPackage (#103)
First version using GitHub releases
From now on, the most recent version of CPM can be downloaded from the according GitHub release as opposed to pulling it from the master branch.
v0.17: add support for SOURCE_DIR argument (#97)
* add support for SOURCE_DIR argument * simplify code * add test * update comment
Default option values
From now on option keys without an explicit value provided are turned "On" by default. Previous versions would fail with a "string begin index out of range error". See #95 for details.
Fixed update warning
Fixes a bug introduced in the v0.15 that broke configuration when a nested dependency has a newer CPM version than the outer project.
Add CPMFindPackage
CPMFindPackage
will always try to locate the package via find_package before downloading.
This should be compatible with C++ package managers that are invoked with find_package
.
Cache downloaded sources
- Rename
CPM_SOURCE_ROOT
->CPM_SOURCE_CACHE
- Adds
CPM_SOURCE_CACHE
environmental variable support - Small updates to tests and Readme
- Bugfixes
Add CPM_SOURCE_ROOT option
- Adds
CPM_SOURCE_ROOT
to use cached downloads
Determine VERSION from GIT_TAG
- Added unit tests
- Determine
VERSION
fromGIT_TAG
if not explicitly specified