--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -729,8 +729,3 @@ add_custom_target(licensecheck
 if(CODECOVERAGE)
   add_subdirectory(coverage)
 endif()
-
-if(IS_DIRECTORY ${PROJECT_SOURCE_DIR}/.git)
-  configure_file(${PROJECT_SOURCE_DIR}/scripts/githooks/commit_msg.py
-                 ${PROJECT_SOURCE_DIR}/.git/hooks/commit-msg COPYONLY)
-endif()
