diff --git a/CMake/OTBModuleEnablement.cmake b/CMake/OTBModuleEnablement.cmake
index 42b76c986a223862bc0898f425adbe3f486fb0b9..539e3c5c7ec2a4360bb28b7c490ea3007e84106c 100644
--- a/CMake/OTBModuleEnablement.cmake
+++ b/CMake/OTBModuleEnablement.cmake
@@ -379,13 +379,6 @@ endif()
 file(WRITE "${OTB_BINARY_DIR}/OTBTargets.cmake"
   "# Generated by CMake, do not edit!")
 
-# Override CMake's built-in add_* commands: assign LABELS to tests and targets
-# automatically. Depends on the CMake variable otb-module being set to the
-# "current" module when add_* is called.
-macro(verify_otb_module_is_set)
-  
-endmacro()
-
 macro(init_module_vars)
   if( "${otb-module}" STREQUAL "" )
     message(FATAL_ERROR "CMake variable otb-module is not set")