From fa9fce9131c9e4f664183476b87d46198b13ec23 Mon Sep 17 00:00:00 2001 From: Glenn Date: Wed, 27 Dec 2023 10:54:01 +0100 Subject: [PATCH] fix: add cmake root dir in manpage path --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e8eca48..ac26f17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -34,7 +34,7 @@ target_link_libraries(igmpgen ${LIBNET_LIBRARY}) install(TARGETS igmpgen DESTINATION bin) # Install the man page -install(FILES misc/igmpgen.man.1 DESTINATION share/man/man1 RENAME igmpgen.1) +install(FILES "${CMAKE_CURRENT_SOURCE_DIR}/misc/igmpgen.man.1" DESTINATION share/man/man1 RENAME igmpgen.1) # Include CPack for packaging include(InstallRequiredSystemLibraries)