CMake: Fix INSTALL_MANPAGES option

This commit is contained in:
evpobr 2020-09-30 09:32:17 +05:00
parent 4a253ba0dc
commit 04e4b70205
2 changed files with 2 additions and 3 deletions

View File

@ -79,7 +79,7 @@ if (NOT ENABLE_CPU_CLIP)
set (CPU_CLIPS_NEGATIVE FALSE)
endif ()
cmake_dependent_option (ENABLE_COMPATIBLE_LIBSNDFILE_NAME "Set DLL name to libsndfile-1.dll (canonical name), sndfile.dll otherwise" OFF "WIN32;BUILD_SHARED_LIBS" OFF)
cmake_dependent_option (INSTALL_MANPAGES "Install man pages for programs" ON "BUILD_PROGRAMS AND (UNIX OR MINGW OR CYGWIN)" OFF)
cmake_dependent_option (INSTALL_MANPAGES "Install man pages for programs" ON "BUILD_PROGRAMS" OFF)
set (HAVE_EXTERNAL_XIPH_LIBS ${ENABLE_EXTERNAL_LIBS})
set (HAVE_SQLITE3 ${BUILD_REGTEST})

View File

@ -135,7 +135,6 @@ You can pass additional options with `/D<parameter>=<value>` when you run
* `ENABLE_PACKAGE_CONFIG` - generate and install [package config file](https://cmake.org/cmake/help/latest/manual/cmake-packages.7.html#config-file-packages).
* `INSTALL_PKGCONFIG_MODULE` - generate and install [pkg-config module](https://people.freedesktop.org/~dbn/pkg-config-guide.html).
* `INSTALL_MANPAGES` - install [man pages](https://en.wikipedia.org/wiki/Man_page) for programs. This option is `ON` by default
on Unix, MinGW and Cygwin platforms
* `ENABLE_STATIC_RUNTIME` - enable static runtime on Windows platform, `OFF` by
default (CMake < 3.15).