From 73891b61b09e0046c031d0a3d42d329ecaac05b4 Mon Sep 17 00:00:00 2001 From: Stephen Birarda Date: Tue, 17 Feb 2015 16:18:35 -0800 Subject: [PATCH] use separate arugments to get colon separated list of paths --- cmake/macros/CopyDllsBesideWindowsExecutable.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/macros/CopyDllsBesideWindowsExecutable.cmake b/cmake/macros/CopyDllsBesideWindowsExecutable.cmake index 827c542b18..8c04e3183a 100644 --- a/cmake/macros/CopyDllsBesideWindowsExecutable.cmake +++ b/cmake/macros/CopyDllsBesideWindowsExecutable.cmake @@ -11,7 +11,7 @@ macro(COPY_DLLS_BESIDE_WINDOWS_EXECUTABLE) if (WIN32 AND NOT CMAKE_BUILD_TYPE STREQUAL "Release") - separate_arguments(LIB_PATHS_ARG WINDOWS_COMMAND ${LIB_PATHS}) + separate_arguments(LIB_PATHS_ARG ${LIB_PATHS}) # add a post-build command to copy DLLs beside the interface executable add_custom_command( TARGET ${TARGET_NAME}