mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
Merge topic 'GNUInstallDirs-kfreebsd-man'
b2d7ab8bd1 GNUInstallDirs: Don't use BSD info and man paths on GNU/kFreeBSD
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2511
This commit is contained in:
@@ -276,7 +276,7 @@ _GNUInstallDirs_cache_path(CMAKE_INSTALL_DATAROOTDIR "share"
|
||||
_GNUInstallDirs_cache_path_fallback(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}"
|
||||
"Read-only architecture-independent data (DATAROOTDIR)")
|
||||
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "^(.*BSD|DragonFly)$")
|
||||
if(CMAKE_SYSTEM_NAME MATCHES "^(([^k].*)?BSD|DragonFly)$")
|
||||
_GNUInstallDirs_cache_path_fallback(CMAKE_INSTALL_INFODIR "info"
|
||||
"Info documentation (info)")
|
||||
_GNUInstallDirs_cache_path_fallback(CMAKE_INSTALL_MANDIR "man"
|
||||
|
||||
Reference in New Issue
Block a user