aboutsummaryrefslogtreecommitdiff
path: root/libs/installer_fomod_plus/cmake/patch_pugixml.cmake
diff options
context:
space:
mode:
authorSulfurNitride <SulfurNitride@users.noreply.github.com>2026-06-17 01:46:09 -0500
committerSulfurNitride <SulfurNitride@users.noreply.github.com>2026-06-17 01:46:09 -0500
commit05aa96d20ca726908a7d8b1943f86f0c4e11bf18 (patch)
treebd45913d1c7a033088f3456e40c8b44c72818ace /libs/installer_fomod_plus/cmake/patch_pugixml.cmake
parent30d2c801a01eeb140ddd5adf8676f2626ecff3fa (diff)
Prepare Nexus-safe release cleanup
Diffstat (limited to 'libs/installer_fomod_plus/cmake/patch_pugixml.cmake')
-rw-r--r--libs/installer_fomod_plus/cmake/patch_pugixml.cmake20
1 files changed, 0 insertions, 20 deletions
diff --git a/libs/installer_fomod_plus/cmake/patch_pugixml.cmake b/libs/installer_fomod_plus/cmake/patch_pugixml.cmake
deleted file mode 100644
index 01f1a68..0000000
--- a/libs/installer_fomod_plus/cmake/patch_pugixml.cmake
+++ /dev/null
@@ -1,20 +0,0 @@
-if(NOT DEFINED PUGIXML_CMAKELISTS)
- message(FATAL_ERROR "PUGIXML_CMAKELISTS not set; cannot patch pugixml.")
-endif()
-
-if(NOT EXISTS "${PUGIXML_CMAKELISTS}")
- message(FATAL_ERROR "Pugixml CMakeLists.txt not found at '${PUGIXML_CMAKELISTS}'.")
-endif()
-
-file(READ "${PUGIXML_CMAKELISTS}" _pugixml_content)
-string(REGEX REPLACE
- "cmake_minimum_required\\(VERSION [^)]+\\)"
- "cmake_minimum_required(VERSION 3.10)"
- _pugixml_patched "${_pugixml_content}")
-
-if(_pugixml_content STREQUAL _pugixml_patched)
- message(STATUS "pugixml CMakeLists already uses a modern cmake_minimum_required.")
-else()
- file(WRITE "${PUGIXML_CMAKELISTS}" "${_pugixml_patched}")
- message(STATUS "Updated pugixml cmake_minimum_required to 3.10 to silence deprecation warnings.")
-endif()