From 237cc0e28ee4f69f3ae66cb7950f329869e8343d Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Tue, 30 Apr 2024 09:05:05 +0200 Subject: [PATCH] spns #41486 - normalise CMAKE_GENERATOR --- src/compilation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compilation.py b/src/compilation.py index a09498c..30c612f 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -134,7 +134,7 @@ class Builder: # In case CMAKE_GENERATOR is defined in environment, # use it in spite of automatically detect it if 'cmake_generator' in self.config.APPLICATION: - cmake_option += " -G %s -A x64 " % self.config.APPLICATION.cmake_generator + cmake_option += " -G \"%s\" -A x64 " % self.config.APPLICATION.cmake_generator command = ("cmake %s -DCMAKE_INSTALL_PREFIX=%s %s" % (cmake_option, self.install_dir, self.source_dir)) -- 2.39.2