mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 18:21:35 +01:00 
			
		
		
		
	update used CMP package versions
This commit is contained in:
		
							parent
							
								
									beebf70246
								
							
						
					
					
						commit
						eedcb6f24e
					
				
					 2 changed files with 5 additions and 3 deletions
				
			
		|  | @ -1,6 +1,8 @@ | |||
| set(CPM_DOWNLOAD_VERSION 0.28.0) | ||||
| set(CPM_DOWNLOAD_VERSION 0.28.4) | ||||
| 
 | ||||
| if(CPM_SOURCE_CACHE) | ||||
|   # Expand relative path. This is important if the provided path contains a tilde (~) | ||||
|   get_filename_component(CPM_SOURCE_CACHE ${CPM_SOURCE_CACHE} ABSOLUTE) | ||||
|   set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake") | ||||
| elseif(DEFINED ENV{CPM_SOURCE_CACHE}) | ||||
|   set(CPM_DOWNLOAD_LOCATION "$ENV{CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake") | ||||
|  | @ -11,7 +13,7 @@ endif() | |||
| if(NOT (EXISTS ${CPM_DOWNLOAD_LOCATION})) | ||||
|   message(STATUS "Downloading CPM.cmake to ${CPM_DOWNLOAD_LOCATION}") | ||||
|   file(DOWNLOAD | ||||
|        https://github.com/TheLartians/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake | ||||
|        https://github.com/cpm-cmake/CPM.cmake/releases/download/v${CPM_DOWNLOAD_VERSION}/CPM.cmake | ||||
|        ${CPM_DOWNLOAD_LOCATION} | ||||
|   ) | ||||
| endif() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue