diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8d79c7277cb9e8b8ff782fed0444c400d47bbf42..0388169079074b407e3be786113d098536b5f911 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,7 +38,7 @@ else()
 endif()
 
 # Define a subproject name fr ctest
-set(CMAKE_DIRECTORY_LABELS spm)
+set(CMAKE_DIRECTORY_LABELS "spm")
 set(CTEST_LABELS_FOR_SUBPROJECTS spm)
 
 if ( PASTIX_INT64 )
diff --git a/tools/analysis.sh b/tools/analysis.sh
index 99e5187aaab7671761f9e5be28940483de7f46cc..0e537d2f230d10c382e7f4322f489b4e5bbf560a 100755
--- a/tools/analysis.sh
+++ b/tools/analysis.sh
@@ -39,7 +39,7 @@ SONARQUBE_PROJECTKEY=${SONARQUBE_PROJECTKEY:-hiepacs:spm:gitlab:dev}
 
 # create the sonarqube config file
 cat > sonar-project.properties << EOF
-sonar.host.url=https://sonarqube.bordeaux.inria.fr/
+sonar.host.url=https://sonarqube.bordeaux.inria.fr/sonarqube
 sonar.login=$SONARQUBE_LOGIN
 
 sonar.links.homepage=https://gitlab.inria.fr/solverstack/spm