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:
parent
9fb9cf0005
commit
84c50239c7
@ -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}")
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user