From 668591ae04b3578d48d916680e4641c3c4afa525 Mon Sep 17 00:00:00 2001 From: Dundar Goc Date: Sat, 18 Jun 2022 15:22:27 +0200 Subject: build(cmake): remove unnecessary globbing with file There's no need to use globbing since there's only one file. --- CMakeLists.txt | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 73f418a96e..39659d6469 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) # -- cgit