summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-10-23 14:20:31 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-10-23 14:21:47 (GMT)
commitd049201facdf788f8560864151f691273bda9c31 (patch)
treeddf40a961666c6e03551f1ec94fffc69d0b92421 /Modules
parent5112a76a175f9be8faf55d64f520977ba5d838b6 (diff)
parentb2d7ab8bd17d0b5ccb1760e1058e670cea8eed49 (diff)
downloadCMake-d049201facdf788f8560864151f691273bda9c31.zip
CMake-d049201facdf788f8560864151f691273bda9c31.tar.gz
CMake-d049201facdf788f8560864151f691273bda9c31.tar.bz2
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
Diffstat (limited to 'Modules')
-rw-r--r--Modules/GNUInstallDirs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GNUInstallDirs.cmake b/Modules/GNUInstallDirs.cmake
index 9dd464c..3dfcf8c 100644
--- a/Modules/GNUInstallDirs.cmake
+++ b/Modules/GNUInstallDirs.cmake
@@ -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"