From cbe7a0fccde242d7f79ad0c0ee2407c549f628b5 Mon Sep 17 00:00:00 2001 From: MihailRis Date: Thu, 17 Apr 2025 22:00:09 +0300 Subject: [PATCH] fix --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f0e0f3e0e..d5be47d46 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -37,8 +37,8 @@ target_link_libraries(VoxelEngine PRIVATE VoxelEngineSrc target_link_options(VoxelEngine PRIVATE $<$:-no-pie>) # Deploy res to build dir -if(NOT EXISTS $/res) - file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION $/res) +if (NOT EXISTS ${CMAKE_CURRENT_BINARY_DIR}/res) + file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) endif() if(VOXELENGINE_BUILD_TESTS)