We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7000572 commit 1f5cb90Copy full SHA for 1f5cb90
cmake/CPM.cmake
@@ -41,6 +41,9 @@ It is recommended to upgrade CPM to the most recent version. \
41
See https://github.com/TheLartians/CPM.cmake for more information."
42
)
43
endif()
44
+ if(${CMAKE_VERSION} VERSION_LESS "3.17.0")
45
+ include(FetchContent)
46
+ endif()
47
return()
48
49
@@ -133,7 +136,10 @@ include(CMakeParseArguments)
133
136
134
137
# Initialize logging prefix
135
138
if(NOT CPM_INDENT)
- set(CPM_INDENT "CPM:")
139
+ set(CPM_INDENT
140
+ "CPM:"
141
+ CACHE INTERNAL ""
142
+ )
143
144
145
function(cpm_find_package NAME VERSION)
0 commit comments