From d29aec2667b6c9ce197e024b42825964c98973d3 Mon Sep 17 00:00:00 2001
From: Lars Bilke <lars.bilke@ufz.de>
Date: Tue, 5 Jan 2016 18:06:53 +0100
Subject: [PATCH] Remove linking to Boost_LIBRARIES.

---
 Applications/Utils/MeshGeoTools/CMakeLists.txt | 1 -
 BaseLib/CMakeLists.txt                         | 1 -
 scripts/cmake/ExternalProjectBoost.cmake       | 2 --
 3 files changed, 4 deletions(-)

diff --git a/Applications/Utils/MeshGeoTools/CMakeLists.txt b/Applications/Utils/MeshGeoTools/CMakeLists.txt
index cf5266de887..1da0d9878ac 100644
--- a/Applications/Utils/MeshGeoTools/CMakeLists.txt
+++ b/Applications/Utils/MeshGeoTools/CMakeLists.txt
@@ -5,7 +5,6 @@ TARGET_LINK_LIBRARIES( ComputeSurfaceNodeIDsInPolygonalRegion
 	FileIO
 	GeoLib
 	MathLib
-	${Boost_LIBRARIES}
 	${OGS_VTK_REQUIRED_LIBS}
 )
 
diff --git a/BaseLib/CMakeLists.txt b/BaseLib/CMakeLists.txt
index d09dd09e182..ca385c86379 100644
--- a/BaseLib/CMakeLists.txt
+++ b/BaseLib/CMakeLists.txt
@@ -9,7 +9,6 @@ set_target_properties(BaseLib PROPERTIES LINKER_LANGUAGE CXX)
 
 target_link_libraries(BaseLib INTERFACE
 	logog
-	${Boost_LIBRARIES}
 )
 
 if(MSVC)
diff --git a/scripts/cmake/ExternalProjectBoost.cmake b/scripts/cmake/ExternalProjectBoost.cmake
index 7c0dfb2fd2c..b50276a1e49 100644
--- a/scripts/cmake/ExternalProjectBoost.cmake
+++ b/scripts/cmake/ExternalProjectBoost.cmake
@@ -44,5 +44,3 @@ if(NOT Boost_INCLUDE_DIRS)
 	# On Visual Studio Boost libs get automatically linked
 	message(STATUS "Downloading Boost automatically.")
 endif()
-
-link_directories( ${source_dir}/stage/lib/ )
-- 
GitLab