From a358f696a42997599d95d50e4a327e58c9c8c430 Mon Sep 17 00:00:00 2001
From: Martin Beseda <martin.beseda@vsb.cz>
Date: Thu, 21 Feb 2019 03:52:46 +0100
Subject: [PATCH] FIX: Fixed bad flag in DownloadBoost

---
 DownloadBoost.cmake | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/DownloadBoost.cmake b/DownloadBoost.cmake
index 76fc5728..c354b8f4 100644
--- a/DownloadBoost.cmake
+++ b/DownloadBoost.cmake
@@ -41,10 +41,10 @@ FetchContent_Populate(boost)
 # Build Boost #
 ###############
 set(BOOTSTRAP_CMD sh bootstrap.sh)
-set(B2_CMD ./b2 ${PARALLEL_BUILD_FLAG}${N_CORES})
+set(B2_CMD ./b2 -j${N_CORES})
 if(WIN32)
     set(BOOTSTRAP_CMD bootstrap.bat)
-    set(B2_CMD b2 ${PARALLEL_BUILD_FLAG}${N_CORES})
+    set(B2_CMD b2 -j${N_CORES})
 endif()
 
 execute_process(
-- 
GitLab