mirror of
				https://github.com/asdlokj1qpi233/subconverter.git
				synced 2025-10-29 21:03:00 +00:00 
			
		
		
		
	Clean up codes. (+6 squashed commit) Squashed commit: [4126d9e] Update build scripts [2ee5027] Update CMake module [71da951] Update build scripts [dea8d3f] Update CMake script [92113ba] Clean up codes and update build script
		
			
				
	
	
		
			14 lines
		
	
	
		
			524 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			524 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
| find_path(MBEDTLS_INCLUDE_DIRS mbedtls/ssl.h)
 | |
| 
 | |
| find_library(MBEDTLS_LIBRARY mbedtls)
 | |
| find_library(MBEDX509_LIBRARY mbedx509)
 | |
| find_library(MBEDCRYPTO_LIBRARY mbedcrypto)
 | |
| 
 | |
| set(MBEDTLS_LIBRARIES "${MBEDTLS_LIBRARY}" "${MBEDX509_LIBRARY}" "${MBEDCRYPTO_LIBRARY}")
 | |
| 
 | |
| include(FindPackageHandleStandardArgs)
 | |
| find_package_handle_standard_args(MBEDTLS DEFAULT_MSG
 | |
|     MBEDTLS_INCLUDE_DIRS MBEDTLS_LIBRARY MBEDX509_LIBRARY MBEDCRYPTO_LIBRARY)
 | |
| 
 | |
| mark_as_advanced(MBEDTLS_INCLUDE_DIRS MBEDTLS_LIBRARY MBEDX509_LIBRARY MBEDCRYPTO_LIBRARY)
 |