From 78a8bba7a43a40d0128a1faa0b9c9da321df1d9e Mon Sep 17 00:00:00 2001 From: sithlord48 Date: Sat, 12 Oct 2024 11:34:40 -0400 Subject: [PATCH] refactor: move res/config.h.in -> src/lib/config.h.in --- cmake/Libraries.cmake | 3 ++- {res => src/lib}/config.h.in | 0 2 files changed, 2 insertions(+), 1 deletion(-) rename {res => src/lib}/config.h.in (100%) diff --git a/cmake/Libraries.cmake b/cmake/Libraries.cmake index e75b0b8dd..4c7cbf653 100644 --- a/cmake/Libraries.cmake +++ b/cmake/Libraries.cmake @@ -163,7 +163,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(res/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/src/lib/config.h) + configure_file(${CMAKE_SOURCE_DIR}/src/lib/config.h.in + ${CMAKE_BINARY_DIR}/src/lib/config.h) add_definitions(-DSYSAPI_UNIX=1 -DHAVE_CONFIG_H) diff --git a/res/config.h.in b/src/lib/config.h.in similarity index 100% rename from res/config.h.in rename to src/lib/config.h.in