diff options
author | Brad King <brad.king@kitware.com> | 2016-09-28 12:05:04 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2016-09-28 12:05:04 (GMT) |
commit | 8021f64029d0805efa17fe439d7ce1356bec7938 (patch) | |
tree | 3e00f032def247613b1d29b6f52cd785a59405c4 | |
parent | a71a172ebf59ce997d971a45b707f7742f07d368 (diff) | |
parent | 956054aeca0cff2ef5a8c92586e992cc9ad51d7d (diff) | |
download | CMake-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.cmake | 2 |
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") |