fix: replace copy_directory_if_different with copy_directory
Some checks failed
Build and Release / prepare (push) Successful in 0s
Build / Build (push) Has been cancelled
Build and Release / build_linux (push) Failing after 9m9s
Build and Release / build_macos (push) Failing after 5s
Build and Release / build_windows (push) Failing after 5s
Build and Release / publish_release (push) Has been skipped
MSVC Build / build-windows (windows-latest) (push) Has been cancelled

- copy_directory_if_different doesn't exist in CMake 3.22
- Use standard copy_directory command instead
This commit is contained in:
ShiftyX1 2025-12-08 20:52:57 +03:00
parent b68e5567b8
commit 5507e17402
5 changed files with 5 additions and 5 deletions

View File

@ -42,7 +42,7 @@ target_link_options(VoxelEngine PRIVATE $<$<CXX_COMPILER_ID:GNU>:-no-pie>)
add_custom_command(
TARGET VoxelEngine
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_directory_if_different
COMMAND ${CMAKE_COMMAND} -E copy_directory
${CMAKE_CURRENT_SOURCE_DIR}/res $<TARGET_FILE_DIR:VoxelEngine>/res)
if(VOXELENGINE_BUILD_TESTS)

View File

@ -1,6 +1,6 @@
# Documentation
Documentation for 0.31.
Documentation for 0.31.1.
> [!WARNING]
> Version is in development. Proceed to [Documentation for 0.30.](https://github.com/MihailRis/voxelcore/blob/release-0.30/doc/en/main-page.md)

View File

@ -1,6 +1,6 @@
# Документация
Документация версии 0.31.
Документация версии 0.31.1.
> [!WARNING]
> Версия находится в разработке. Перейдите к [документации для 0.30.](https://github.com/MihailRis/voxelcore/blob/release-0.30/doc/ru/main-page.md)

View File

@ -1,6 +1,6 @@
{
"id": "base",
"title": "Base",
"version": "0.31",
"version": "0.31.1",
"description": "basic content package"
}

View File

@ -14,7 +14,7 @@ inline constexpr bool ENGINE_DEBUG_BUILD = false;
inline constexpr bool ENGINE_DEBUG_BUILD = true;
#endif // NDEBUG
inline const std::string ENGINE_VERSION_STRING = "0.31";
inline const std::string ENGINE_VERSION_STRING = "0.31.1";
/// @brief world regions format version
inline constexpr uint REGION_FORMAT_VERSION = 3;