File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ set(RSP_CMAKE_SCRIPTS_VERSION "0.1.0")
2626
2727CPMAddPackage(
2828 NAME "rsp-cmake-scripts"
29- GIT_TAG "${RSP_CMAKE_SCRIPTS_VERSION}"
29+ VERSION "${RSP_CMAKE_SCRIPTS_VERSION}"
3030 GITHUB_REPOSITORY "rsps/cmake-scripts"
3131)
3232```
@@ -40,12 +40,11 @@ set(RSP_CMAKE_SCRIPTS_VERSION "0.1.0")
4040
4141include(FetchContent)
4242FetchContent_Declare(
43- rsp-cmake-scripts
44- GIT_REPOSITORY https://github.com/rsps/cmake-scripts
45- GIT_TAG ${RSP_CMAKE_SCRIPTS_VERSION}
46- FIND_PACKAGE_ARGS NAMES rsp-cmake-scripts
43+ "rsp-cmake-scripts"
44+ GIT_REPOSITORY "https://github.com/rsps/cmake-scripts"
45+ GIT_TAG "${RSP_CMAKE_SCRIPTS_VERSION}"
4746)
48- FetchContent_MakeAvailable(rsp-cmake-scripts)
47+ FetchContent_MakeAvailable(" rsp-cmake-scripts" )
4948```
5049
5150!!! note "Note"
You can’t perform that action at this time.
0 commit comments