From 53759542ecd09b39d4c896f0dbf9a3dda76c94dd Mon Sep 17 00:00:00 2001 From: fredzo Date: Mon, 20 Jan 2025 23:35:34 +0100 Subject: [PATCH] Fix for spaces in Windows path --- src/ngscopeclient/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngscopeclient/CMakeLists.txt b/src/ngscopeclient/CMakeLists.txt index c59a1a3b..a84ba2d8 100644 --- a/src/ngscopeclient/CMakeLists.txt +++ b/src/ngscopeclient/CMakeLists.txt @@ -245,7 +245,7 @@ if(WIXPATH AND WIN32) ${CMAKE_BINARY_DIR}/lib/scopeprotocols/libscopeprotocols.dll ${CMAKE_BINARY_DIR}/src/ngscopeclient/ngscopeclient.exe ${CMAKE_BINARY_DIR}/dist/ngscopeclient_windows_x64 - COMMAND bash -c \"cp -R ${MINGW64_BIN_PATH}/../share/licenses ${CMAKE_BINARY_DIR}/dist/ngscopeclient_windows_x64\" + COMMAND bash -c \"cp -R '${MINGW64_BIN_PATH}/../share/licenses' '${CMAKE_BINARY_DIR}/dist/ngscopeclient_windows_x64'\" COMMAND bash -c \"wget https://github.com/bvernoux/mingw-bundledlls/releases/download/v0.2.4/mingw-bundledlls-0.2.4-1-x86_64.pkg.tar.zst && pacman -U --noconfirm mingw-bundledlls-*.pkg.tar.zst && rm -f mingw-bundledlls-*.pkg.tar.zst\" COMMAND bash -c \"export MINGW_BUNDLEDLLS_SEARCH_PATH='${MINGW64_BIN_PATH}\;../../lib/log\;../../lib/scopeexports\;../../lib/scopehal\;../../lib/scopeprotocols\;../../lib/xptools' && mingw-bundledlls ${CMAKE_BINARY_DIR}/dist/ngscopeclient_windows_x64/ngscopeclient.exe --copy\")