]> granicus.if.org Git - graphviz/commitdiff
CI: abbreviate passing options to CMake in the windows build
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 14 Nov 2022 05:05:08 +0000 (21:05 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 17 Nov 2022 05:09:01 +0000 (21:09 -0800)
ci/windows_build.py

index e6c154b920ff6e3d68fefe3deb03b36e9c6dd960..be60c4cc3a78e4d745bc8eb1d952f869823d6d11 100644 (file)
@@ -37,7 +37,7 @@ def main(args: List[str]) -> int: #pylint: disable=C0116
     os.makedirs(build)
     run(["cmake", "--version"], build)
     run(["cmake", "--log-level=VERBOSE", "-G", "Visual Studio 16 2019", "-A",
-         options.platform, "-D", "with_cxx_api=ON", "--warn-uninitialized",
+         options.platform, "-Dwith_cxx_api=ON", "--warn-uninitialized",
          "-Werror=dev", ".."],
         build)
     run(["cmake", "--build", ".", "--config", options.configuration], build)