From c2b773cb97e498e9f30edd7988263374ac48cf68 Mon Sep 17 00:00:00 2001 From: Tyler Yankee Date: Thu, 29 Jan 2026 11:25:14 -0500 Subject: [PATCH] cmake: Prefer named constant for jobs This improves readability. --- Source/cmakemain.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmakemain.cxx b/Source/cmakemain.cxx index fe5f35da7a..9fd2799789 100644 --- a/Source/cmakemain.cxx +++ b/Source/cmakemain.cxx @@ -428,7 +428,7 @@ int do_cmake(int ac, char const* const* av) int extract_job_number(std::string const& command, std::string const& jobString) { - int jobs = -1; + int jobs = cmake::NO_BUILD_PARALLEL_LEVEL; unsigned long numJobs = 0; if (jobString.empty()) { jobs = cmake::DEFAULT_BUILD_PARALLEL_LEVEL;