[RSHELL] Remove a duplicated add_custom_command() call (#570)
authorSerge Gautherie <32623169+SergeGautherie@users.noreply.github.com>
Tue, 5 Jun 2018 18:17:34 +0000 (20:17 +0200)
committerThomas Faber <18138474+ThFabba@users.noreply.github.com>
Tue, 5 Jun 2018 18:17:34 +0000 (20:17 +0200)
base/shell/rshell/CMakeLists.txt

index 94337e9..39a2b19 100644 (file)
@@ -49,9 +49,3 @@ add_custom_command(TARGET rshell POST_BUILD
      "$<TARGET_FILE:rshell>"
      "$<TARGET_FILE_DIR:filebrowser>/$<TARGET_FILE_NAME:rshell>" 
   COMMENT "Copying to output directory")
-
-add_custom_command(TARGET rshell POST_BUILD 
-  COMMAND "${CMAKE_COMMAND}" -E copy 
-     "$<TARGET_FILE:rshell>"
-     "$<TARGET_FILE_DIR:filebrowser>/$<TARGET_FILE_NAME:rshell>" 
-  COMMENT "Copying to output directory")