refactor: Move src/lib/Config => src/lib/platform/XWindowsConfig

This file is used only in XWindows related platform code.
This commit is contained in:
sithlord48
2025-12-30 11:29:12 -05:00
committed by Nick Bolton
parent 163ec18730
commit 7682e17afe
8 changed files with 14 additions and 27 deletions

View File

@ -164,13 +164,7 @@ macro(configure_unix_libs)
endif()
endif()
# 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)
add_definitions(-DSYSAPI_UNIX=1 -DHAVE_CONFIG_H)
add_definitions(-DSYSAPI_UNIX=1)
endmacro()