if(NOT TARGET pugixml::static) include(FetchContent) FetchContent_Declare( pugixml GIT_REPOSITORY https://code.3011.io/Mirrors/pugixml GIT_TAG v1.15 ) FetchContent_MakeAvailable( pugixml ) endif()