if (${CMAKE_SOURCE_DIR} STREQUAL ${CMAKE_CURRENT_LIST_DIR})
    cmake_minimum_required(VERSION 3.16)
    cmake_policy(SET CMP0141 NEW)
    set(CMAKE_MSVC_DEBUG_INFORMATION_FORMAT "$<$<CONFIG:Debug,RelWithDebInfo>:Embedded>")
    project(test_maplibre)
    set(test_maplibre_VERSION 1.0.0)
    set(CMAKE_CXX_STANDARD 20)
    include(third_party/build_infra/start.cmake)
    include(third_party/CPP_Core/main.cmake)

    set(test_maplibre_rely QMapLibre_qt_5_15_2)
    library_is_installed_with_rely(global ok ${test_maplibre_rely})
    if (${ok})
        include(${CMAKE_SOURCE_DIR}/main.cmake)
    else ()
        message("test_maplibre 依赖未安装！  请运行 test_maplibre_env 目标安装所需第三方依赖")
    endif ()
    rcl_add_dependency_action_targets("test_maplibre_env" ${test_maplibre_rely})
    include(third_party/build_infra/end.cmake)
else ()
endif ()



