mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 10:11:34 +01:00 
			
		
		
		
	Fix problems while using local packages
update CPM.cmake version too Set FORCE option for SOURCE_DIR usage
This commit is contained in:
		
							parent
							
								
									f0b5bdb1f5
								
							
						
					
					
						commit
						dbce1b7392
					
				
					 3 changed files with 19 additions and 8 deletions
				
			
		|  | @ -1,4 +1,4 @@ | |||
| set(CPM_DOWNLOAD_VERSION 0.37.0) | ||||
| set(CPM_DOWNLOAD_VERSION 0.38.2) | ||||
| 
 | ||||
| if(CPM_SOURCE_CACHE) | ||||
|   set(CPM_DOWNLOAD_LOCATION "${CPM_SOURCE_CACHE}/cpm/CPM_${CPM_DOWNLOAD_VERSION}.cmake") | ||||
|  | @ -27,6 +27,7 @@ else() | |||
|   if("${check}" STREQUAL "") | ||||
|     download_cpm() | ||||
|   endif() | ||||
|   unset(check) | ||||
| endif() | ||||
| 
 | ||||
| include(${CPM_DOWNLOAD_LOCATION}) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue