use separate arugments to get colon separated list of paths

This commit is contained in:
Stephen Birarda 2015-02-17 16:18:35 -08:00
parent 7920f7afa3
commit 73891b61b0

View file

@ -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}