1c5f01b2fSopenharmony_ciinclude(FindPackageHandleStandardArgs)
2c5f01b2fSopenharmony_ciset(${CMAKE_FIND_PACKAGE_NAME}_CONFIG ${CMAKE_CURRENT_LIST_FILE})
3c5f01b2fSopenharmony_cifind_package_handle_standard_args(@PROJECT_NAME@ CONFIG_MODE)
4c5f01b2fSopenharmony_ci
5c5f01b2fSopenharmony_ciif(NOT TARGET @PROJECT_NAME@::@NLOHMANN_JSON_TARGET_NAME@)
6c5f01b2fSopenharmony_ci    include("${CMAKE_CURRENT_LIST_DIR}/@NLOHMANN_JSON_TARGETS_EXPORT_NAME@.cmake")
7c5f01b2fSopenharmony_ci    if((NOT TARGET @NLOHMANN_JSON_TARGET_NAME@) AND
8c5f01b2fSopenharmony_ci       (NOT @PROJECT_NAME@_FIND_VERSION OR
9c5f01b2fSopenharmony_ci        @PROJECT_NAME@_FIND_VERSION VERSION_LESS 3.2.0))
10c5f01b2fSopenharmony_ci        add_library(@NLOHMANN_JSON_TARGET_NAME@ INTERFACE IMPORTED)
11c5f01b2fSopenharmony_ci        set_target_properties(@NLOHMANN_JSON_TARGET_NAME@ PROPERTIES
12c5f01b2fSopenharmony_ci            INTERFACE_LINK_LIBRARIES @PROJECT_NAME@::@NLOHMANN_JSON_TARGET_NAME@
13c5f01b2fSopenharmony_ci        )
14c5f01b2fSopenharmony_ci    endif()
15c5f01b2fSopenharmony_ciendif()
16