From 6ae2f142445eda42af647fd48b989df516787b3e Mon Sep 17 00:00:00 2001 From: Nat Goodspeed Date: Wed, 8 Aug 2018 15:37:39 -0400 Subject: Fix cmake -E copy of CrashReporter.nib. indra/mac_crash_logger/CMakeLists.txt was using 'cmake -E copy_directory' to copy CrashReporter.nib -- which is actually a binary file. Apparently that works, until CMake 3.12.0, which produces an error. Use copy_if_different instead. --- indra/mac_crash_logger/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra/mac_crash_logger/CMakeLists.txt') diff --git a/indra/mac_crash_logger/CMakeLists.txt b/indra/mac_crash_logger/CMakeLists.txt index ab20388261..f6c4dfb59d 100644 --- a/indra/mac_crash_logger/CMakeLists.txt +++ b/indra/mac_crash_logger/CMakeLists.txt @@ -85,7 +85,7 @@ add_custom_command( COMMAND ${CMAKE_COMMAND} ARGS -E - copy_directory + copy_if_different ${CMAKE_CURRENT_SOURCE_DIR}/CrashReporter.nib ${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/mac-crash-logger.app/Contents/Resources/CrashReporter.nib ) -- cgit v1.2.3