mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-29 04:09:35 +03:00
GNUInstallDirs: Don't use BSD info and man paths on GNU/kFreeBSD
This commit is contained in:
1 parent
fd02538974
commit
b2d7ab8bd1
2 files changed
+2
-2
No files matched your search
@@ -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()
|
||||
|
||||
|
||||
Reference in new issue
Block a user