Octave : Use correct destination build folder

This commit is contained in:
Magne Sjaastad 2021-03-03 14:11:27 +01:00
parent 44bae5dad6
commit 08b8d7d400

View File

@ -220,13 +220,13 @@ add_custom_target(octave_plugins ALL DEPENDS
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}/../ApplicationLibCode/$<CONFIGURATION>/${Filename}" "${CMAKE_CURRENT_BINARY_DIR}/../ApplicationExeCode/$<CONFIGURATION>/${Filename}"
) )
else() else()
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}/../ApplicationLibCode/${Filename}" "${CMAKE_CURRENT_BINARY_DIR}/../ApplicationExeCode/${Filename}"
) )
endif() endif()
endforeach( oct_bin ) endforeach( oct_bin )