build(cmake): remove unnecessary globbing with file

There's no need to use globbing since there's only one file.
This commit is contained in:
Dundar Goc 2022-06-18 15:22:27 +02:00
parent 8a6f728315
commit 668591ae04

View File

@ -636,11 +636,8 @@ endif()
include(InstallHelpers)
file(GLOB MANPAGES
RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
man/nvim.1)
install_helper(
FILES ${MANPAGES}
FILES ${CMAKE_SOURCE_DIR}/man/nvim.1
DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
#