From 3bebb0067af6d38288caad975e26471ce1f131a0 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Mon, 29 Apr 2024 17:45:32 +0200 Subject: [PATCH] spns #41486 - normalise CMAKE_GENERATOR --- src/compilation.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/compilation.py b/src/compilation.py index b8e84bd..a09498c 100644 --- a/src/compilation.py +++ b/src/compilation.py @@ -134,8 +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 += " -DCMAKE_GENERATOR=\"%s\"" \ - % 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