From b39eec688576751b4016aed1177b37c97f95b31c Mon Sep 17 00:00:00 2001 From: johndoe6345789 Date: Sat, 3 Jan 2026 22:48:35 +0000 Subject: [PATCH] Copy config directory to the binary directory if it exists --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 23883af..6e08d0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -125,6 +125,10 @@ if(BUILD_SDL3_APP) if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/scripts") file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/scripts" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}") endif() + + if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/config") + file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/config" DESTINATION "${CMAKE_CURRENT_BINARY_DIR}") + endif() endif() enable_testing()