mirror of https://github.com/bjornbytes/lovr.git
Fix move_dll for VS2019
TARGET_FILE_DIR will do the right thing regardless of VR version
This commit is contained in:
parent
86d9c913bd
commit
66aa0449a5
|
@ -549,7 +549,7 @@ if(WIN32)
|
|||
add_custom_command(TARGET lovr POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy
|
||||
$<TARGET_FILE:${ARGV0}>
|
||||
${CMAKE_CURRENT_BINARY_DIR}/$<CONFIGURATION>/$<TARGET_FILE_NAME:${ARGV0}>
|
||||
$<TARGET_FILE_DIR:lovr>/$<TARGET_FILE_NAME:${ARGV0}>
|
||||
)
|
||||
endif()
|
||||
endfunction()
|
||||
|
|
Loading…
Reference in New Issue