From 009d1aab17f4be661d6e37e520c8b86117c5f7be Mon Sep 17 00:00:00 2001
From: Michal Kravcenko <michal.kravcenko@vsb.cz>
Date: Wed, 19 Sep 2018 11:08:47 +0200
Subject: [PATCH] FIX: findboost to include boost root expansions

---
 build.bat | 6 ++++++
 build.sh  | 2 ++
 2 files changed, 8 insertions(+)

diff --git a/build.bat b/build.bat
index a3698176..dc2a2a67 100644
--- a/build.bat
+++ b/build.bat
@@ -4,6 +4,12 @@ rem call VsDevCmd.bat
 
 title Build lib4neuro project
 
+rem Dependency type of linking (static/shared)
+set DEPENDENCIES_LINK_TYPE=static
+
+rem Path to boost directory, in case you have it already installed on your system
+set BOOST_ROOT=%cd%\external_dependencies\boost
+
 rem Build type (Release/Debug)
 set BUILD_TYPE=Debug
 rem Should we rebuild BOOST? (yes/no)
diff --git a/build.sh b/build.sh
index 49368398..8dbebd5c 100755
--- a/build.sh
+++ b/build.sh
@@ -4,6 +4,8 @@
 # Parameters #
 #------------#
 
+BOOST_ROOT=${PWD}/external_dependencies/boost
+
 #
 # Modular build parameters
 #
-- 
GitLab