From 4145f7455b619b33e5df6adaa085c917587fe8d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomasz=20K=C5=82oczko?= Date: Fri, 9 Sep 2022 15:45:49 +0000 Subject: [PATCH] Fix man pages lvl 1 install path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Install those pages in "${CMAKE_INSTALL_MANDIR}/man1 instead directly in "${CMAKE_INSTALL_MANDIR}. Signed-off-by: Tomasz Kłoczko --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 2925471f..d21e754e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -262,5 +262,5 @@ file(GLOB FLAC++_HEADERS "include/FLAC++/*.h") install(FILES ${FLAC_HEADERS} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/FLAC") install(FILES ${FLAC++_HEADERS} DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/FLAC++") if(INSTALL_MANPAGES) - install(FILES "man/flac.1" "man/metaflac.1" DESTINATION "${CMAKE_INSTALL_MANDIR}") + install(FILES "man/flac.1" "man/metaflac.1" DESTINATION "${CMAKE_INSTALL_MANDIR}/man1") endif()