diff --git a/modules/MorseInit.cmake b/modules/MorseInit.cmake
index 1fd1794f67369ddbb0e04e6b5ff5c6a092b113cc..23b6d6c01836592aead1181d78f5912a52b31a5a 100644
--- a/modules/MorseInit.cmake
+++ b/modules/MorseInit.cmake
@@ -30,6 +30,9 @@
 # This include is required to check symbols of libs in the main CMakeLists.txt
 include(CheckFunctionExists)
 
+# This include is required to check defines in headers
+include(CheckIncludeFiles)
+
 # To colorize messages
 #include(ColorizeMessage)