diff options
author | Dmitry Marakasov <amdmi3@amdmi3.ru> | 2016-09-26 22:22:16 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2016-09-27 12:33:57 (GMT) |
commit | 956054aeca0cff2ef5a8c92586e992cc9ad51d7d (patch) | |
tree | be12c2aa597c495e1449ff6908ce42955d6f6e68 /Modules/GNUInstallDirs.cmake | |
parent | 1a5fddfe6d56733528ace3d15899b0739ea28054 (diff) | |
download | CMake-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.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") |