From 3cd177bff2ef9e730a6f3622b24180bcc7b47eb8 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sun, 12 Sep 2021 14:33:08 +0200 Subject: [PATCH] build: Fix build error when python is installed in Program Files --- cmake/build_helpers.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/build_helpers.cmake b/cmake/build_helpers.cmake index 1ec3000c8..73e38e245 100644 --- a/cmake/build_helpers.cmake +++ b/cmake/build_helpers.cmake @@ -176,7 +176,7 @@ macro(createPackage) # Grab all dynamically linked dependencies. INSTALL(CODE "set(CMAKE_INSTALL_BINDIR \"${CMAKE_INSTALL_BINDIR}\")") - INSTALL(CODE "get_filename_component(PY_PARENT ${Python_LIBRARIES} DIRECTORY)") + INSTALL(CODE "get_filename_component(PY_PARENT \"${Python_LIBRARIES}\" DIRECTORY)") INSTALL(CODE "LIST(APPEND DEP_FOLDERS \${PY_PARENT})") install(CODE [[ file(GET_RUNTIME_DEPENDENCIES