From: Nabil Ghodbane Date: Mon, 29 Apr 2024 15:45:32 +0000 (+0200) Subject: spns #41486 - normalise CMAKE_GENERATOR X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3bebb0067af6d38288caad975e26471ce1f131a0;p=tools%2Fsat.git spns #41486 - normalise CMAKE_GENERATOR --- 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))