summaryrefslogtreecommitdiffstats
path: root/Modules/GNUInstallDirs.cmake
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@amdmi3.ru>2016-09-26 22:22:16 (GMT)
committerBrad King <brad.king@kitware.com>2016-09-27 12:33:57 (GMT)
commit956054aeca0cff2ef5a8c92586e992cc9ad51d7d (patch)
treebe12c2aa597c495e1449ff6908ce42955d6f6e68 /Modules/GNUInstallDirs.cmake
parent1a5fddfe6d56733528ace3d15899b0739ea28054 (diff)
downloadCMake-956054aeca0cff2ef5a8c92586e992cc9ad51d7d.zip
CMake-956054aeca0cff2ef5a8c92586e992cc9ad51d7d.tar.gz
CMake-956054aeca0cff2ef5a8c92586e992cc9ad51d7d.tar.bz2
GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pages
Diffstat (limited to 'Modules/GNUInstallDirs.cmake')
-rw-r--r--Modules/GNUInstallDirs.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/GNUInstallDirs.cmake b/Modules/GNUInstallDirs.cmake
index 0c80b8a..c58d77b 100644
--- a/Modules/GNUInstallDirs.cmake
+++ b/Modules/GNUInstallDirs.cmake
@@ -265,7 +265,7 @@ if(NOT CMAKE_INSTALL_DATADIR)
set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}")
endif()
-if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD")
+if(CMAKE_SYSTEM_NAME MATCHES "^(.*BSD|DragonFly)$")
if(NOT CMAKE_INSTALL_INFODIR)
set(CMAKE_INSTALL_INFODIR "" CACHE PATH "info documentation (info)")
set(CMAKE_INSTALL_INFODIR "info")