GNUInstallDirs: Don't use BSD info and man paths on GNU/kFreeBSD

This commit is contained in:
James Clarke authored and Brad King committed 2018-10-22 12:58:54 -04:00
1 parent fd02538974
commit b2d7ab8bd1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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"
@@ -1,6 +1,6 @@
include(RunCMake)
if(SYSTEM_NAME MATCHES "^(.*BSD|DragonFly)$")
if(SYSTEM_NAME MATCHES "^(([^k].*)?BSD|DragonFly)$")
set(EXPECT_BSD 1)
endif()