Remove custom target
This commit is contained in:
parent
57e9cade7b
commit
5b6cee1bf5
@ -81,12 +81,4 @@ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/res DESTINATION ${CMAKE_CURRENT_BINARY_DIR
|
|||||||
if (VOXELENGINE_BUILD_TESTS)
|
if (VOXELENGINE_BUILD_TESTS)
|
||||||
enable_testing()
|
enable_testing()
|
||||||
add_subdirectory(test)
|
add_subdirectory(test)
|
||||||
endif()
|
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)
|
|
||||||
Loading…
x
Reference in New Issue
Block a user