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
				
			
		|  | @ -16,7 +16,11 @@ CPMAddPackage( | |||
|   OPTIONS "CXXOPTS_BUILD_EXAMPLES NO" "CXXOPTS_BUILD_TESTS NO" "CXXOPTS_ENABLE_INSTALL YES" | ||||
| ) | ||||
| 
 | ||||
| CPMAddPackage(NAME Greeter SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/..) | ||||
| CPMAddPackage( | ||||
|   NAME Greeter | ||||
|   SOURCE_DIR ${CMAKE_CURRENT_LIST_DIR}/.. | ||||
|   FORCE ON | ||||
| ) | ||||
| 
 | ||||
| # ---- Create standalone executable ---- | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue