Skip to content
Snippets Groups Projects
Commit 5210fe92 authored by Dmitry Marakasov's avatar Dmitry Marakasov
Browse files

GNUInstallDirs: Update CMAKE_INSTALL_MANDIR for FreeBSD

FreeBSD has switched from PREFIX/man ro PREFIX/share/man
see https://cgit.freebsd.org/ports/tree/CHANGES entry 20200115.

Issue: #22883
parent 7cb5f969
No related branches found
No related tags found
No related merge requests found
Pipeline #255716 waiting for manual action
......@@ -326,7 +326,8 @@ else()
"Info documentation (DATAROOTDIR/info)")
endif()
if(CMAKE_SYSTEM_NAME MATCHES "^(([^k].*)?BSD|DragonFly)$")
# FreeBSD has switched to share/man in 2020
if(CMAKE_SYSTEM_NAME MATCHES "^(([^k].*)?BSD|DragonFly)$" AND NOT CMAKE_SYSTEM_NAME MATCHES "^(FreeBSD)$")
_GNUInstallDirs_cache_path_fallback(CMAKE_INSTALL_MANDIR "man"
"Man documentation (man)")
else()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment