chore: rename lib/config.h.in => lib/Config.h.in

This commit is contained in:
sithlord48 2025-03-19 18:09:28 -04:00 committed by Chris Rizzitello
parent d7b20fad5c
commit d9e6ec4b70
4 changed files with 4 additions and 4 deletions

View file

@ -200,8 +200,8 @@ macro(configure_unix_libs)
# Unix only: For config.h, save the results based on a template (config.h.in). # 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, # 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'). # and we have header files named "Config.h" (upper case 'C').
configure_file(${CMAKE_SOURCE_DIR}/src/lib/config.h.in configure_file(${CMAKE_SOURCE_DIR}/src/lib/Config.h.in
${CMAKE_BINARY_DIR}/src/lib/config.h @ONLY) ${CMAKE_BINARY_DIR}/src/lib/Config.h @ONLY)
add_definitions(-DSYSAPI_UNIX=1 -DHAVE_CONFIG_H) add_definitions(-DSYSAPI_UNIX=1 -DHAVE_CONFIG_H)

View file

@ -29,7 +29,7 @@
#include "platform/Wayland.h" #include "platform/Wayland.h"
#if defined(Q_OS_LINUX) #if defined(Q_OS_LINUX)
#include "config.h" #include "Config.h"
#endif #endif
#include <QApplication> #include <QApplication>

View file

@ -11,7 +11,7 @@
#define SYSAPI_WIN32 1 #define SYSAPI_WIN32 1
#define WINAPI_MSWINDOWS 1 #define WINAPI_MSWINDOWS 1
#elif HAVE_CONFIG_H #elif HAVE_CONFIG_H
#include "config.h" #include "Config.h"
#else #else
#error "config.h missing" #error "config.h missing"
#endif #endif