We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 40c3367 commit 5d4829dCopy full SHA for 5d4829d
docs/+current/index.md
@@ -29,8 +29,16 @@ CPMAddPackage(
29
VERSION "${RSP_CMAKE_SCRIPTS_VERSION}"
30
GITHUB_REPOSITORY "rsps/cmake-scripts"
31
)
32
+
33
+# IMPORTANT: Enable "rsp/*" modules in your project,...
34
+list(APPEND CMAKE_MODULE_PATH "${rsp-cmake-scripts_SOURCE_DIR}/cmake")
35
```
36
37
+!!! info "`CMAKE_MODULE_PATH`"
38
+ At the time of this writing, CPM does not automatically support paths appended to `CMAKE_MODULE_PATH`.
39
+ To make use of this package's cmake modules, via CPM, you **MUST** manually append
40
+ this package's module path in your top-level `CMakeLists.txt`, as shown in the above install example.
41
42
### Via Fetch Content
43
44
Alternatively, you can also use cmake's [`FetchContent`](https://cmake.org/cmake/help/latest/module/FetchContent.html) module:
0 commit comments