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:
parent
a22570ea19
commit
33f031295c
|
@ -198,7 +198,7 @@ if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
|
||||||
set(CMAKE_INSTALL_INFODIR "info")
|
set(CMAKE_INSTALL_INFODIR "info")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(NOT CMAKE_INSTALL_MANDDIR)
|
if(NOT CMAKE_INSTALL_MANDIR)
|
||||||
set(CMAKE_INSTALL_MANDIR "" CACHE PATH "man documentation (man)")
|
set(CMAKE_INSTALL_MANDIR "" CACHE PATH "man documentation (man)")
|
||||||
set(CMAKE_INSTALL_MANDIR "man")
|
set(CMAKE_INSTALL_MANDIR "man")
|
||||||
endif()
|
endif()
|
||||||
|
@ -208,7 +208,7 @@ else()
|
||||||
set(CMAKE_INSTALL_INFODIR "${CMAKE_INSTALL_DATAROOTDIR}/info")
|
set(CMAKE_INSTALL_INFODIR "${CMAKE_INSTALL_DATAROOTDIR}/info")
|
||||||
endif()
|
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 "" CACHE PATH "man documentation (DATAROOTDIR/man)")
|
||||||
set(CMAKE_INSTALL_MANDIR "${CMAKE_INSTALL_DATAROOTDIR}/man")
|
set(CMAKE_INSTALL_MANDIR "${CMAKE_INSTALL_DATAROOTDIR}/man")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue