Fix man pages lvl 1 install path

Install those pages in "${CMAKE_INSTALL_MANDIR}/man1 instead directly in
"${CMAKE_INSTALL_MANDIR}.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
This commit is contained in:
Tomasz Kłoczko 2022-09-09 15:45:49 +00:00 committed by Martijn van Beurden
parent 97dbae1800
commit 4145f7455b
1 changed files with 1 additions and 1 deletions

View File

@ -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()