mirror of
				https://github.com/eledio-devices/thirdparty-ArduinoJson.git
				synced 2025-10-31 08:42:39 +01:00 
			
		
		
		
	CMake: made project arch-independent
This commit is contained in:
		| @@ -5,6 +5,7 @@ HEAD | ||||
| ---- | ||||
|  | ||||
| * CMake: don't build tests when imported in another project | ||||
| * CMake: made project arch-independent | ||||
|  | ||||
| v6.15.1 (2020-04-08) | ||||
| ------- | ||||
|   | ||||
| @@ -37,12 +37,18 @@ install( | ||||
| ) | ||||
|  | ||||
| include(CMakePackageConfigHelpers) | ||||
|  | ||||
| if(${CMAKE_VERSION} VERSION_GREATER "3.14.0")  | ||||
|     set(ARCH_INDEPENDENT "ARCH_INDEPENDENT") | ||||
| endif() | ||||
|  | ||||
| write_basic_package_version_file( | ||||
|         "${PROJECT_BINARY_DIR}/ArduinoJsonConfigVersion.cmake" | ||||
|     VERSION | ||||
|         ${PROJECT_VERSION} | ||||
|     COMPATIBILITY | ||||
|         SameMajorVersion | ||||
|     ${ARCH_INDEPENDENT} | ||||
| ) | ||||
|  | ||||
| configure_package_config_file( | ||||
|   | ||||
		Reference in New Issue
	
	Block a user