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)