mirror of
https://gitee.com/openharmony/third_party_libsnd
synced 2024-11-26 19:40:24 +00:00
CMake: Fix manpages installation on some platforms
Two manpages are installed by Autotools as symlinks, on some platforms
they are not visible and installation fails with error.
Install these files with renaming to avoid errors.
Related to edc513a
, #m-ab-s/media-autobuild_suite#1801
This commit is contained in:
parent
b329ba64ab
commit
22fca506cf
@ -726,19 +726,20 @@ else ()
|
||||
endif ()
|
||||
|
||||
if (INSTALL_MANPAGES)
|
||||
|
||||
set (man_MANS
|
||||
man/sndfile-info.1
|
||||
man/sndfile-play.1
|
||||
man/sndfile-convert.1
|
||||
man/sndfile-cmp.1
|
||||
man/sndfile-metadata-get.1
|
||||
man/sndfile-metadata-set.1
|
||||
man/sndfile-concat.1
|
||||
man/sndfile-interleave.1
|
||||
man/sndfile-deinterleave.1
|
||||
man/sndfile-salvage.1
|
||||
)
|
||||
install (FILES ${man_MANS} DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
install (FILES man/sndfile-metadata-get.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 RENAME sndfile-metadata-set.1)
|
||||
install (FILES man/sndfile-interleave.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1 RENAME sndfile-deinterleave.1)
|
||||
endif ()
|
||||
|
||||
if (ENABLE_BOW_DOCS)
|
||||
|
Loading…
Reference in New Issue
Block a user