If I remember correctly I never figured out how to get the target in a subfolder, you need the target to your dependencies.
add_custom_command(TARGET project POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy_if_different
some.dll
$<TARGET_FILE_DIR:project>)