From 5b6cee1bf586bfd9ea3a76f09f9a48df0f9bf2c2 Mon Sep 17 00:00:00 2001 From: REDxEYE Date: Fri, 6 Dec 2024 21:44:12 +0300 Subject: [PATCH] Remove custom target --- CMakeLists.txt | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 61177810..a56457bd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,12 +81,4 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION ${CMAKE_CURRENT_BINARY_DIR if (VOXELENGINE_BUILD_TESTS) enable_testing() add_subdirectory(test) -endif() - -add_custom_target(copy_resources ALL - COMMAND ${CMAKE_COMMAND} -E copy_directory - ${CMAKE_CURRENT_SOURCE_DIR}/res - ${CMAKE_CURRENT_BINARY_DIR}/res - COMMENT "Copying resource directory to the build directory" -) -add_dependencies(${PROJECT_NAME} copy_resources) \ No newline at end of file +endif() \ No newline at end of file