1
0
forked from BRT/arc

Add app_data.db to build directory during compilation

Ensures that the app_data.db file is copied to the build directory alongside other resources. This is necessary to guarantee all required files are available for the application to function correctly.
This commit is contained in:
trnsmkot 2025-04-18 20:07:03 +07:00
parent 9fb9cf0005
commit 84c50239c7

View File

@ -62,6 +62,7 @@ if (WIN32)
)
# Копирование изображений в директорию сборки
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/database/app_data.db" DESTINATION "${CMAKE_BINARY_DIR}")
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/images" DESTINATION "${CMAKE_BINARY_DIR}")
file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/rus.traineddata" DESTINATION "${CMAKE_BINARY_DIR}")