]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
spns #41486 - normalise CMAKE_GENERATOR
authorNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 30 Apr 2024 07:05:05 +0000 (09:05 +0200)
committerNabil Ghodbane <nabil.ghodbane@cea.fr>
Tue, 30 Apr 2024 07:05:05 +0000 (09:05 +0200)
src/compilation.py

index a09498ce9eed4e02dbf7bb571e486e258a3bd728..30c612f28849906c75e8f0f6665a5e7c32bec95c 100644 (file)
@@ -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))