diff --git a/CMakeLists.txt b/CMakeLists.txt index fa512f98..546edb14 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/README.md b/README.md index 489a0342..9802af32 100644 --- a/README.md +++ b/README.md @@ -134,8 +134,7 @@ You can pass additional options with `/D=` when you run This option is `ON` by default. * `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 +* `INSTALL_MANPAGES` - install [man pages](https://en.wikipedia.org/wiki/Man_page) for programs. This option is `ON` by default * `ENABLE_STATIC_RUNTIME` - enable static runtime on Windows platform, `OFF` by default (CMake < 3.15).