mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 10:56:12 +01:00 
			
		
		
		
	 6d3747a294
			
		
	
	
	6d3747a294
	
	
	
		
			
			* fix FindLZ4 to follow convention (LIBRARIES, not LIBRARY) * remove redundant checks from rocksdb/CMakeLists.txt * put all checks through the same macro that uniformly checks for a package, prints the message, adds definition
		
			
				
	
	
		
			9 lines
		
	
	
	
		
			256 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
	
		
			256 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| find_path(LZ4_INCLUDE_DIR NAMES lz4.h)
 | |
| find_library(LZ4_LIBRARIES NAMES lz4)
 | |
| 
 | |
| include(FindPackageHandleStandardArgs)
 | |
| FIND_PACKAGE_HANDLE_STANDARD_ARGS(
 | |
|     LZ4 DEFAULT_MSG
 | |
|     LZ4_LIBRARIES LZ4_INCLUDE_DIR)
 | |
| 
 | |
| mark_as_advanced(LZ4_INCLUDE_DIR LZ4_LIBRARIES)
 |