set(CMAKE_HOST_SYSTEM "Windows-10.0.19042")
set(CMAKE_HOST_SYSTEM_NAME "Windows")
set(CMAKE_HOST_SYSTEM_VERSION "10.0.19042")
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")

include("D:/sdk/HarmonyOS_SDK/native/2.2.0.1/build/cmake/ohos.toolchain.cmake")

set(CMAKE_SYSTEM "OHOS-1")
set(CMAKE_SYSTEM_NAME "OHOS")
set(CMAKE_SYSTEM_VERSION "1")
set(CMAKE_SYSTEM_PROCESSOR "aarch64")

set(CMAKE_CROSSCOMPILING "TRUE")

set(CMAKE_SYSTEM_LOADED 1)
