summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-09-28 12:05:04 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-09-28 12:05:04 (GMT)
commit8021f64029d0805efa17fe439d7ce1356bec7938 (patch)
tree3e00f032def247613b1d29b6f52cd785a59405c4
parenta71a172ebf59ce997d971a45b707f7742f07d368 (diff)
parent956054aeca0cff2ef5a8c92586e992cc9ad51d7d (diff)
downloadCMake-8021f64029d0805efa17fe439d7ce1356bec7938.zip
CMake-8021f64029d0805efa17fe439d7ce1356bec7938.tar.gz
CMake-8021f64029d0805efa17fe439d7ce1356bec7938.tar.bz2
Merge topic 'GNUInstallDirs-more-BSD'
956054ae GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pages
-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")