1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-04-27 14:57:44 +00:00

fix build cause extra slash in scripts cmake

This commit is contained in:
Tahir 2023-02-04 18:42:38 +00:00
parent bd8c620e73
commit e5fd01baaf

View file

@ -68,7 +68,7 @@ foreach(_scriptDir ${children})
)
else()
add_custom_command(TARGET "script_${_name}" POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:${ScriptTargetName}> ${SCRIPT_POSTBUILD_DIR}/
COMMAND ${CMAKE_COMMAND} -E copy_if_different $<TARGET_FILE:${ScriptTargetName}> ${SCRIPT_POSTBUILD_DIR}
)
endif()