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)