diff --git a/FileIO/CMakeLists.txt b/FileIO/CMakeLists.txt
index 2b0d58bddedf93b677ab9515f743dc4c03e222cb..c2e92a3aaa9e994792167a51995adaf77b8e32db 100644
--- a/FileIO/CMakeLists.txt
+++ b/FileIO/CMakeLists.txt
@@ -64,10 +64,15 @@ if(QT4_FOUND)
 endif()
 
 ADD_VTK_DEPENDENCY(FileIO)
+
 if(TARGET Eigen)
 	add_dependencies(FileIO Eigen)
 endif()
 
+if(TARGET Boost)
+    add_dependencies(FileIO Boost)
+endif()
+
 file(GLOB XSD_FILES . *.xsd)
 if(APPLE AND OGS_BUILD_GUI)
 	install(FILES ${XSD_FILES} DESTINATION ${CMAKE_BINARY_DIR}/_CPack_Packages/Darwin/DragNDrop/${CPACK_PACKAGE_FILE_NAME}/ALL_IN_ONE/DataExplorer.app/Contents/MacOS COMPONENT ogs_gui)
diff --git a/InSituLib/CMakeLists.txt b/InSituLib/CMakeLists.txt
index 2b7ef273041b73882fe1b54f477afd2928b091cc..957f1907d1ba36a53a8a56a4a4734d827ce4d402 100644
--- a/InSituLib/CMakeLists.txt
+++ b/InSituLib/CMakeLists.txt
@@ -12,3 +12,7 @@ add_library(InSituLib
 target_link_libraries(InSituLib INTERFACE MeshLib ${VTK_LIBRARIES})
 
 ADD_VTK_DEPENDENCY(InSituLib)
+
+if(TARGET Boost)
+    add_dependencies(InSituLib Boost)
+endif()
diff --git a/MeshLib/CMakeLists.txt b/MeshLib/CMakeLists.txt
index d291a112d7d2e69783744bce1e57b5940c6f1c34..67846e5b03f71ee1a5a3cb02c34fedb8c9369664 100644
--- a/MeshLib/CMakeLists.txt
+++ b/MeshLib/CMakeLists.txt
@@ -31,3 +31,6 @@ if(TARGET Eigen)
     add_dependencies(MeshLib Eigen)
 endif()
 
+if(TARGET Boost)
+    add_dependencies(MeshLib Boost)
+endif()