mirror of
				https://github.com/TheLartians/ModernCppStarter.git
				synced 2025-10-31 18:21:35 +01:00 
			
		
		
		
	adapt shorthand syntax in other dependencies
This commit is contained in:
		
							parent
							
								
									27c17d63cf
								
							
						
					
					
						commit
						c3cec5974c
					
				
					 4 changed files with 5 additions and 26 deletions
				
			
		|  | @ -11,14 +11,10 @@ include(${CMAKE_CURRENT_LIST_DIR}/CPM.cmake) | |||
| # enables sanitizers support using the the `USE_SANITIZER` flag available values are: Address, | ||||
| # Memory, MemoryWithOrigins, Undefined, Thread, Leak, 'Address;Undefined' | ||||
| if(USE_SANITIZER OR USE_STATIC_ANALYZER) | ||||
|   CPMAddPackage( | ||||
|     NAME StableCoder-cmake-scripts | ||||
|     GITHUB_REPOSITORY StableCoder/cmake-scripts | ||||
|     GIT_TAG 3d2d5a9fb26f0ce24e3e4eaeeff686ec2ecfb3fb | ||||
|   ) | ||||
|   CPMAddPackage("gh:StableCoder/cmake-scripts#3d2d5a9fb26f0ce24e3e4eaeeff686ec2ecfb3fb") | ||||
| 
 | ||||
|   if(USE_SANITIZER) | ||||
|     include(${StableCoder-cmake-scripts_SOURCE_DIR}/sanitizers.cmake) | ||||
|     include(${cmake-scripts_SOURCE_DIR}/sanitizers.cmake) | ||||
|   endif() | ||||
| 
 | ||||
|   if(USE_STATIC_ANALYZER) | ||||
|  | @ -66,9 +62,5 @@ endif() | |||
| 
 | ||||
| # enables CCACHE support through the USE_CCACHE flag possible values are: YES, NO or equivalent | ||||
| if(USE_CCACHE) | ||||
|   CPMAddPackage( | ||||
|     NAME Ccache.cmake | ||||
|     GITHUB_REPOSITORY TheLartians/Ccache.cmake | ||||
|     VERSION 1.2.1 | ||||
|   ) | ||||
|   CPMAddPackage("gh:TheLartians/Ccache.cmake@1.2.1") | ||||
| endif() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue