diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4d5bb47d08ba7981bbd0728ccc58bacd24e724b3..1c427f228942ca4c051dafd9a36186a9f568c4ca 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -55,18 +55,19 @@ pkg_check_modules(csm QUIET csm )
 link_directories(${csm_LIBRARY_DIRS})
 if(csm_FOUND)
   if(NOT csm_LIBRARY_DIRS)
-  message("csm_LIBRARY_DIRS is empty")
+    message("csm_LIBRARY_DIRS is empty")
   else()
     # keep only the files in a lib folder: by default the "." is in csm_LIBRARY_DIRS, 
     # which is not acceptable for target_link_directories 
-    message(csm_LIBRARY_DIRS:)
-    foreach (my_entry IN LISTS csm_LIBRARY_DIRS)
-        message("csm_LIBRARY_DIRS has ${my_entry}")
-    endforeach()
+    # message("csm_LIBRARY_DIRS:")
+    # foreach (my_entry IN LISTS csm_LIBRARY_DIRS)
+    #     message("  ${my_entry}")
+    # endforeach()
     list(FILTER csm_LIBRARY_DIRS INCLUDE REGEX "lib")
-    foreach (my_entry IN LISTS csm_LIBRARY_DIRS)
-        message("csm_LIBRARY_DIRS has ${my_entry}")
-    endforeach()
+    # message("after filtering csm_LIBRARY_DIRS:")
+    # foreach (my_entry IN LISTS csm_LIBRARY_DIRS)
+    #     message("  ${my_entry}")
+    # endforeach()
   endif()
 endif()