diff --git a/Auxiliary/cmake-mode.el b/Auxiliary/cmake-mode.el
index 37ca94282e01e4fe9d0fbe8faa0ce5b53a88d0bc..7458a660c6eae9d4c7f7f45a4563bf9c5c091ae3 100644
--- a/Auxiliary/cmake-mode.el
+++ b/Auxiliary/cmake-mode.el
@@ -320,6 +320,7 @@ and store the result as a list in LISTVAR."
       ))
   )
 
+(require 'thingatpt)
 (defun cmake-symbol-at-point ()
   (let ((symbol (symbol-at-point)))
     (and (not (null symbol))