From 954ba0ada5f08e1d3711376c7bcd9dc953425b5a Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Thu, 17 Aug 2023 23:48:10 +0000 Subject: [PATCH] style: pre-commit.ci fixes --- cmake/CLIsingle.hpp.in | 2 +- src/CMakeLists.txt | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cmake/CLIsingle.hpp.in b/cmake/CLIsingle.hpp.in index 6fcf1bb4a..e000c88b6 100644 --- a/cmake/CLIsingle.hpp.in +++ b/cmake/CLIsingle.hpp.in @@ -7,4 +7,4 @@ #pragma once //single file header -#include +#include "../cli11.hpp" diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index c1e32f8df..f62c895c2 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -112,7 +112,8 @@ if(CLI11_SINGLE_FILE) if(CLI11_INSTALL) install(FILES "${PROJECT_BINARY_DIR}/include/CLI11.hpp" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}) - configure_file("${CLI11_SOURCE_DIR}/cmake/CLIsingle.hpp.in" "${PROJECT_BINARY_DIR}/include/CLI/CLI.hpp" @ONLY) + configure_file("${CLI11_SOURCE_DIR}/cmake/CLIsingle.hpp.in" + "${PROJECT_BINARY_DIR}/include/CLI/CLI.hpp" @ONLY) install(FILES "${PROJECT_BINARY_DIR}/include/CLI/CLI.hpp" DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/CLI) endif()