File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,16 @@ CPMAddPackage(
2929 VERSION "${RSP_CMAKE_SCRIPTS_VERSION}"
3030 GITHUB_REPOSITORY "rsps/cmake-scripts"
3131)
32+
33+ # IMPORTANT: Enable "rsp/*" modules in your project,...
34+ list(APPEND CMAKE_MODULE_PATH "${rsp-cmake-scripts_SOURCE_DIR}/cmake")
3235```
3336
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+
3442### Via Fetch Content
3543
3644Alternatively, you can also use cmake's [ ` FetchContent ` ] ( https://cmake.org/cmake/help/latest/module/FetchContent.html ) module:
You can’t perform that action at this time.
0 commit comments