mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use copy_if_different to avoid build errors
This commit is contained in:
@@ -210,8 +210,10 @@ if(MSVC)
|
||||
add_custom_command(
|
||||
TARGET ResInsight-tests
|
||||
POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy $<TARGET_RUNTIME_DLLS:ResInsight-tests>
|
||||
$<TARGET_FILE_DIR:ResInsight-tests>
|
||||
COMMAND
|
||||
${CMAKE_COMMAND} -E copy_if_different
|
||||
$<TARGET_RUNTIME_DLLS:ResInsight-tests>
|
||||
$<TARGET_FILE_DIR:ResInsight-tests>
|
||||
COMMAND_EXPAND_LISTS
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user