From d9e6ec4b70f46cce232343d8576f023d9920b001 Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Wed, 19 Mar 2025 18:09:28 -0400 Subject: [PATCH] chore: rename lib/config.h.in => lib/Config.h.in --- cmake/Libraries.cmake | 4 ++-- src/apps/deskflow-gui/MainWindow.cpp | 2 +- src/lib/{config.h.in => Config.h.in} | 0 src/lib/common/common.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) rename src/lib/{config.h.in => Config.h.in} (100%) diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake index 4f17709d3..91a1e48e4 100644 --- a/cmake/Libraries.cmake +++ b/cmake/Libraries.cmake @@ -200,8 +200,8 @@ macro(configure_unix_libs) # Unix only: For config.h, save the results based on a template (config.h.in). # Note that this won't work on Windows because filenames are not case sensitive, # and we have header files named "Config.h" (upper case 'C'). - configure_file(${CMAKE_SOURCE_DIR}/src/lib/config.h.in - ${CMAKE_BINARY_DIR}/src/lib/config.h @ONLY) + configure_file(${CMAKE_SOURCE_DIR}/src/lib/Config.h.in + ${CMAKE_BINARY_DIR}/src/lib/Config.h @ONLY) add_definitions(-DSYSAPI_UNIX=1 -DHAVE_CONFIG_H) diff --git a/src/apps/deskflow-gui/MainWindow.cpp b/src/apps/deskflow-gui/MainWindow.cpp index 98266f984..37be9924d 100644 --- a/src/apps/deskflow-gui/MainWindow.cpp +++ b/src/apps/deskflow-gui/MainWindow.cpp @@ -29,7 +29,7 @@ #include "platform/Wayland.h" #if defined(Q_OS_LINUX) -#include "config.h" +#include "Config.h" #endif #include diff --git a/src/lib/config.h.in b/src/lib/Config.h.in similarity index 100% rename from src/lib/config.h.in rename to src/lib/Config.h.in diff --git a/src/lib/common/common.h b/src/lib/common/common.h index ba127398d..cf937eec0 100644 --- a/src/lib/common/common.h +++ b/src/lib/common/common.h @@ -11,7 +11,7 @@ #define SYSAPI_WIN32 1 #define WINAPI_MSWINDOWS 1 #elif HAVE_CONFIG_H -#include "config.h" +#include "Config.h" #else #error "config.h missing" #endif