Use ABSL_RUN_TESTS instead of BUILD_TESTING
This commit is contained in:
		
							parent
							
								
									fcc476cce5
								
							
						
					
					
						commit
						027ebfdb8f
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -121,7 +121,7 @@ function(absl_cc_library) | ||||||
|     ${ARGN} |     ${ARGN} | ||||||
|   ) |   ) | ||||||
| 
 | 
 | ||||||
|   if (NOT ABSL_CC_LIB_TESTONLY OR BUILD_TESTING) |   if (NOT ABSL_CC_LIB_TESTONLY OR ABSL_RUN_TESTS) | ||||||
|     set(_NAME "absl_${ABSL_CC_LIB_NAME}") |     set(_NAME "absl_${ABSL_CC_LIB_NAME}") | ||||||
|     string(TOUPPER ${_NAME} _UPPER_NAME) |     string(TOUPPER ${_NAME} _UPPER_NAME) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue