summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-02-04 16:46:24 -0800
committerGuy Harris <guy@alum.mit.edu>2015-02-05 00:47:53 +0000
commit5b6252654f173a79e5f4c31f9d584cc3870df1da (patch)
tree5db705b464211c2287eafeafec14c1d8c90df5f2
parenta2e48c64e7be2f60fe171bbaf50b78a1f2352f63 (diff)
downloadwireshark-5b6252654f173a79e5f4c31f9d584cc3870df1da.tar.gz
OK, try cmake -E copy.
It didn't fail with cp, so maybe that's just random luck, or maybe the built-in copy functions have an issue, or maybe just copy_if_different has an issue (64-bit inode number issues?). Try just copy, and see what happens. Change-Id: I84abf3846af9305c19ad4a78d5c9df31b1e1e61e Reviewed-on: https://code.wireshark.org/review/6961 Reviewed-by: Guy Harris <guy@alum.mit.edu>
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b15bf9357b..5d42ae5bfe 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1335,7 +1335,7 @@ foreach(_install_file ${INSTALL_FILES})
get_filename_component(_install_basename "${_install_file}" NAME)
if (APPLE)
add_custom_command(TARGET copy_data_files POST_BUILD
- COMMAND cp
+ COMMAND ${CMAKE_COMMAND} -E copy
"${_install_file}"
"${DATAFILE_DIR}/${_install_basename}"
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}