diff --git a/CMakeLists.txt b/CMakeLists.txt
index 6cc23de970b3c61c601f12226286136e4034b132..e55427ad08b5a84b22483be83e41ec543fbcfb13 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -923,8 +923,6 @@ if(ENABLE_SWIG)
       swig_add_module(gmshpy python Common/gmshpy.i)
       swig_link_libraries(gmshpy ${PYTHON_LIBRARIES} ${LINK_LIBRARIES} shared)
     endif(SWIG_MAJOR_VERSION EQUAL 1)
-  else(SWIG_FOUND)
-    message("WARNING: Could not find SWIG")    
   endif(SWIG_FOUND)
 endif(ENABLE_SWIG)