# Install bash and zsh completion files. # # The install path is not detected at runtime (contrary to what the # bash-completion documentation suggests, see # ) to account # for those cases where the FlightGear installation prefix is not /usr. # See if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") install(FILES completion/fg-completion.bash DESTINATION share/bash-completion/completions RENAME fgfs) install(FILES completion/fg-completion.zsh DESTINATION share/zsh/site-functions RENAME _fgfs) endif(${CMAKE_SYSTEM_NAME} MATCHES "Linux")