Remove custom target

This commit is contained in:
REDxEYE 2024-12-06 21:44:12 +03:00
parent 57e9cade7b
commit 5b6cee1bf5

View File

@ -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)
endif()