Remove check that auto-generated files exist
[alexxy/gromacs.git] / src / programs / CMakeLists.txt
index 6d907b88e92326c24d1ef236d406c42596bd36f0..8bc5eb7b067fe34967ba13c2019f0e72c1d44284 100644 (file)
@@ -80,12 +80,6 @@ else()
     # Completion generation
 
     set(COMPLETION_DIR ${CMAKE_CURRENT_SOURCE_DIR}/completion)
-    if(SOURCE_IS_SOURCE_DISTRIBUTION)
-        # Make sure source package contains the completions.
-        if(NOT EXISTS "${COMPLETION_DIR}/gmx-completion.bash")
-            message(FATAL_ERROR "Shell completions are missing from source package.")
-        endif()
-    endif()
     file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/completion)
     add_custom_target(completion
         gmx -quiet help -export completion