diff --git a/CMakeCommon/CopyInstallFiles.cmake b/CMakeCommon/CopyInstallFiles.cmake index 00c4ef1..23e57e0 100644 --- a/CMakeCommon/CopyInstallFiles.cmake +++ b/CMakeCommon/CopyInstallFiles.cmake @@ -28,12 +28,10 @@ function(CopyBin BIN bin DEST destination ) - get_target_property(bin_full_name ${bin} LOCATION) add_custom_command( TARGET ${bin} POST_BUILD - COMMAND ${CMAKE_COMMAND} -E copy ${bin_full_name} ${destination} - #COMMENT "Copying ${bin} to ${destination}" + COMMAND ${CMAKE_COMMAND} -E copy $ ${destination} ) endfunction()