From 245e4d97233dc8971990332cf5b27a5e1213c066 Mon Sep 17 00:00:00 2001 From: Victor Chernyakin Date: Wed, 11 Mar 2026 06:32:04 -0700 Subject: [PATCH] Clean up a couple of CMake includes (#4710) CMakeParseArguments is a no-op since CMake 3.5 and the minimum version {fmt} supports is 3.8: https://cmake.org/cmake/help/latest/module/CMakeParseArguments.html GNUInstallDirs is already unconditionally included earlier in the file. --- CMakeLists.txt | 3 --- 1 file changed, 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 66f7f613..36b631d7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -326,8 +326,6 @@ if (FMT_SAFE_DURATION_CAST) target_compile_definitions(fmt PUBLIC FMT_SAFE_DURATION_CAST) endif () -include(CMakeParseArguments) - # Adds a library compiled with C++20 module support. # # Usage: @@ -549,7 +547,6 @@ function (add_doc_target) --site-dir ${CMAKE_CURRENT_BINARY_DIR}/doc-html --no-directory-urls SOURCES ${sources}) - include(GNUInstallDirs) install( DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/doc-html/ DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/doc/fmt