diff --git a/Applications/Utils/MeshGeoTools/CMakeLists.txt b/Applications/Utils/MeshGeoTools/CMakeLists.txt index cf5266de887e0eea3891da7a8209ead9daa639e7..1da0d9878ace2eff705d5b9407538e9f1f36b9de 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 d09dd09e182879600ffd86e3cfc531c5f5a04c7f..ca385c86379a9b2f5cc2daa81d61cb394e080f1d 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 7c0dfb2fd2c182772ef89286719afc57e373a1fa..b50276a1e4987f3029b319f46cbe7e87a7e1ee88 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/ )