From 5507e17402985c08cebcf8709c320a3ecf0de572 Mon Sep 17 00:00:00 2001 From: ShiftyX1 Date: Mon, 8 Dec 2025 20:52:57 +0300 Subject: [PATCH] fix: replace copy_directory_if_different with copy_directory - copy_directory_if_different doesn't exist in CMake 3.22 - Use standard copy_directory command instead --- CMakeLists.txt | 2 +- doc/en/main-page.md | 2 +- doc/ru/main-page.md | 2 +- res/content/base/package.json | 2 +- src/constants.hpp | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27a9d507..62d9ba10 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -42,7 +42,7 @@ target_link_options(VoxelEngine PRIVATE $<$:-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 $/res) if(VOXELENGINE_BUILD_TESTS) diff --git a/doc/en/main-page.md b/doc/en/main-page.md index 57a5b25d..38eec004 100644 --- a/doc/en/main-page.md +++ b/doc/en/main-page.md @@ -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) diff --git a/doc/ru/main-page.md b/doc/ru/main-page.md index c1773d5d..d8b41f83 100644 --- a/doc/ru/main-page.md +++ b/doc/ru/main-page.md @@ -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) diff --git a/res/content/base/package.json b/res/content/base/package.json index a9214111..ac04582d 100644 --- a/res/content/base/package.json +++ b/res/content/base/package.json @@ -1,6 +1,6 @@ { "id": "base", "title": "Base", - "version": "0.31", + "version": "0.31.1", "description": "basic content package" } diff --git a/src/constants.hpp b/src/constants.hpp index 1ae27a54..07c19b39 100644 --- a/src/constants.hpp +++ b/src/constants.hpp @@ -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;