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