diff --git a/cmake_modules/gitlab-ci-initial-cache.cmake b/cmake_modules/gitlab-ci-initial-cache.cmake
index 1b6cef645ab841fc1c16ad30d2cc99e3500c457d..f472d6142feb70cf2e2058f5099f43451bcd9693 100644
--- a/cmake_modules/gitlab-ci-initial-cache.cmake
+++ b/cmake_modules/gitlab-ci-initial-cache.cmake
@@ -1,5 +1,5 @@
+set(BUILD_SHARED_LIBS "ON" CACHE BOOL "")
 set(CMAKE_INSTALL_PREFIX "$ENV{PWD}/install" CACHE PATH "")
-
 set(CMAKE_VERBOSE_MAKEFILE "ON" CACHE BOOL "")
 
 option(MORSE_ENABLE_WARNING       "Enable warning messages" ON)