Fix typo in Modules/GNUInstallDirs.cmake (#15176)

Commit d4fdd9c189 ("GNUInstallDirs: use the
proper default for info and man paths on OpenBSD") introduced a typo.
This commit is contained in:
David Coppa 2014-09-29 12:19:12 +02:00 committed by Rolf Eike Beer
parent a22570ea19
commit 33f031295c
1 changed files with 2 additions and 2 deletions

View File

@ -198,7 +198,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
set(CMAKE_INSTALL_INFODIR "info")
endif()
if(NOT CMAKE_INSTALL_MANDDIR)
if(NOT CMAKE_INSTALL_MANDIR)
set(CMAKE_INSTALL_MANDIR "" CACHE PATH "man documentation (man)")
set(CMAKE_INSTALL_MANDIR "man")
endif()
@ -208,7 +208,7 @@ else()
set(CMAKE_INSTALL_INFODIR "${CMAKE_INSTALL_DATAROOTDIR}/info")
endif()
if(NOT CMAKE_INSTALL_MANDDIR)
if(NOT CMAKE_INSTALL_MANDIR)
set(CMAKE_INSTALL_MANDIR "" CACHE PATH "man documentation (DATAROOTDIR/man)")
set(CMAKE_INSTALL_MANDIR "${CMAKE_INSTALL_DATAROOTDIR}/man")
endif()