From 16cd4baedf50f9492c29c4deb30237a6ea104d45 Mon Sep 17 00:00:00 2001 From: Astazium <113135541+Astazium@users.noreply.github.com> Date: Sun, 23 Aug 2026 21:09:35 +0300 Subject: [PATCH] another fix for older cmake versions --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 27a9d507b..62d9ba100 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)