diff --git a/AssemblerLib/CMakeLists.txt b/AssemblerLib/CMakeLists.txt
index 6595966e21be2709c616e59c7a7d03982be19116..62d7daf68b93a08c3b0ed00cc894d81c5e81e8e9 100644
--- a/AssemblerLib/CMakeLists.txt
+++ b/AssemblerLib/CMakeLists.txt
@@ -5,7 +5,7 @@ GET_SOURCE_FILES(SOURCES_ASSEMBLERLIB)
 set(SOURCES ${SOURCES_ASSEMBLERLIB})
 
 # Create the library
-add_library(AssemblerLib ${SOURCES})
+add_library(AssemblerLib STATIC ${SOURCES})
 
 target_link_libraries(AssemblerLib
 	MeshLib
diff --git a/GeoLib/CMakeLists.txt b/GeoLib/CMakeLists.txt
index 1938997b3a13f4615d7139b16f1b9a1569008228..e8d6573392045455c02081e3d4ca8f0313c38c7a 100644
--- a/GeoLib/CMakeLists.txt
+++ b/GeoLib/CMakeLists.txt
@@ -2,7 +2,7 @@
 GET_SOURCE_FILES(SOURCES_GeoLib)
 
 # Create the library
-add_library(GeoLib ${SOURCES_GeoLib}
+add_library(GeoLib STATIC ${SOURCES_GeoLib}
 	${CMAKE_CURRENT_SOURCE_DIR}/../ThirdParty/tetgen/predicates.cxx
 )
 
diff --git a/MathLib/CMakeLists.txt b/MathLib/CMakeLists.txt
index 5d0095fdf38503009d34be73bd7123a8ccc62a67..a97ed510448c9db74449c9ee6a996f16f6ff5daf 100644
--- a/MathLib/CMakeLists.txt
+++ b/MathLib/CMakeLists.txt
@@ -56,12 +56,12 @@ if(METIS_FOUND)
 endif()
 
 # Create the library
-add_library(MathLib ${SOURCES})
+add_library(MathLib STATIC ${SOURCES})
 
 set_target_properties(MathLib PROPERTIES LINKER_LANGUAGE CXX)
 
 target_link_libraries(MathLib
-    logog
+    AssemblerLib
 )
 
 if(METIS_FOUND)
diff --git a/MeshLib/CMakeLists.txt b/MeshLib/CMakeLists.txt
index b275ab4e15cef3515fe36346bbbc901a81b72eb0..32e897425607d972344a56ad144b8c5331ee8f70 100644
--- a/MeshLib/CMakeLists.txt
+++ b/MeshLib/CMakeLists.txt
@@ -15,7 +15,7 @@ GET_SOURCE_FILES(SOURCES_QUALITY MeshQuality)
 set(SOURCES ${SOURCES_MESHLIB} ${SOURCES_ELEMENTS} ${SOURCES_EDITING} ${SOURCES_GENERATORS} ${SOURCES_QUALITY} ${SOURCES_SEARCH})
 
 # Create the library
-add_library(MeshLib ${SOURCES})
+add_library(MeshLib STATIC ${SOURCES})
 
 target_link_libraries(MeshLib
 	BaseLib