diff --git a/InfoLib/CMakeLists.txt b/InfoLib/CMakeLists.txt
index c785fccfa1282a22cdce8d5e91c3b9d5c22f9f28..6b549876c4885dca1942af8bad8ac33652b7633c 100644
--- a/InfoLib/CMakeLists.txt
+++ b/InfoLib/CMakeLists.txt
@@ -8,4 +8,7 @@ foreach(lib Git CMake Test)
     include(GenerateExportHeader)
     generate_export_header(${lib}InfoLib)
     target_include_directories(${lib}InfoLib PUBLIC ${CMAKE_CURRENT_BINARY_DIR})
+    if(BUILD_SHARED_LIBS)
+        install(TARGETS ${lib}InfoLib LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})
+    endif()
 endforeach(lib)