fix: replace copy_directory_if_different with copy_directory
Build and Release / prepare (push) Successful in 0s
Build / Build (push) Has been cancelled
Build and Release / build_linux (push) Failing after 9m9s
Build and Release / build_macos (push) Failing after 5s
Build and Release / build_windows (push) Failing after 5s
Build and Release / publish_release (push) Has been skipped
MSVC Build / build-windows (windows-latest) (push) Has been cancelled
Build and Release / prepare (push) Successful in 0s
Build / Build (push) Has been cancelled
Build and Release / build_linux (push) Failing after 9m9s
Build and Release / build_macos (push) Failing after 5s
Build and Release / build_windows (push) Failing after 5s
Build and Release / publish_release (push) Has been skipped
MSVC Build / build-windows (windows-latest) (push) Has been cancelled
- copy_directory_if_different doesn't exist in CMake 3.22 - Use standard copy_directory command instead
This commit is contained in:
+1
-1
@@ -42,7 +42,7 @@ target_link_options(VoxelEngine PRIVATE $<$<CXX_COMPILER_ID:GNU>:-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 $<TARGET_FILE_DIR:VoxelEngine>/res)
|
||||
|
||||
if(VOXELENGINE_BUILD_TESTS)
|
||||
|
||||
Reference in New Issue
Block a user