Skip to content

Commit

Permalink
Make copy platform-independent
Browse files Browse the repository at this point in the history
  • Loading branch information
JeanPaulShapo committed Jun 18, 2016
1 parent c69e201 commit c403163
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion 3rdparty/protobuf-cmake/protoc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ if (MSVC)
elseif (UNIX)
add_custom_command(TARGET protoc
POST_BUILD
COMMAND cp $<TARGET_FILE:protoc> ${CMAKE_SOURCE_DIR}/3rdparty/protobuf/src/)
COMMAND cmake -E copy $<TARGET_FILE:protoc> ${CMAKE_SOURCE_DIR}/3rdparty/protobuf/src/)
endif (MSVC)
2 changes: 1 addition & 1 deletion src/artm/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ target_link_libraries(artm ${ARTM_LIB_DEPS})

add_custom_command(TARGET artm
POST_BUILD
COMMAND cp $<TARGET_FILE:artm> ${CMAKE_SOURCE_DIR}/python/artm/wrapper/)
COMMAND cmake -E copy $<TARGET_FILE:artm> ${CMAKE_SOURCE_DIR}/python/artm/wrapper/)

if (MSVC)
install(TARGETS artm DESTINATION bin)
Expand Down

0 comments on commit c403163

Please sign in to comment.