diff --git a/.gitlab/ci/build.gitlab-ci.yml b/.gitlab/ci/build.gitlab-ci.yml
index c9e4771b8205aba31d97f75910fbd8075898d142..da0d23c9de978ebcdbb370a6f4a92262829e05b9 100644
--- a/.gitlab/ci/build.gitlab-ci.yml
+++ b/.gitlab/ci/build.gitlab-ci.yml
@@ -54,7 +54,7 @@ build:windows_cpp:
     - cd build_cpp
     - cmake -DCMAKE_INSTALL_PREFIX:PATH=../install_cpp -DCMAKE_BUILD_TYPE=Debug ..
     - cmake --build . -j2
-    - cmake --install .
+    - cmake --install . --config Debug
 
   artifacts:
     paths: