diff --git a/development/cmake/scripts/LyXGetVersion.cmake b/development/cmake/scripts/LyXGetVersion.cmake index bc261eecfb..11500ec6c3 100644 --- a/development/cmake/scripts/LyXGetVersion.cmake +++ b/development/cmake/scripts/LyXGetVersion.cmake @@ -58,7 +58,7 @@ else() ) if(copy_err) - message(FATAL_ERROR "${CMAKE_COMMAND} -E ${copy_command} not working") + message(FATAL_ERROR "${CMAKE_COMMAND} -E copy_if_different not working") endif() EXECUTE_PROCESS(