mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-11 16:06:04 -06:00
Try to fix issues on build server related to copy of oct files
p4#: 21626
This commit is contained in:
parent
97c3a330f6
commit
b1e73a4eb7
@ -115,10 +115,13 @@ else()
|
|||||||
# directly from the location of the ResInsight binaries
|
# directly from the location of the ResInsight binaries
|
||||||
if (MSVC)
|
if (MSVC)
|
||||||
foreach (oct_bin ${OCTAVE_BINARY_OCT_FILES})
|
foreach (oct_bin ${OCTAVE_BINARY_OCT_FILES})
|
||||||
|
|
||||||
|
get_filename_component(Filename "${oct_bin}" NAME)
|
||||||
|
|
||||||
add_custom_command(TARGET octave_plugins POST_BUILD
|
add_custom_command(TARGET octave_plugins POST_BUILD
|
||||||
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
COMMAND ${CMAKE_COMMAND} -E copy_if_different
|
||||||
"${oct_bin}"
|
"${oct_bin}"
|
||||||
"${CMAKE_CURRENT_BINARY_DIR}/../ApplicationCode/$<CONFIGURATION>"
|
"${CMAKE_CURRENT_BINARY_DIR}/../ApplicationCode/$<CONFIGURATION>/${Filename}"
|
||||||
)
|
)
|
||||||
endforeach( oct_bin )
|
endforeach( oct_bin )
|
||||||
endif(MSVC)
|
endif(MSVC)
|
||||||
|
Loading…
Reference in New Issue
Block a user