From 956054aeca0cff2ef5a8c92586e992cc9ad51d7d Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Mon, 26 Sep 2016 18:22:16 -0400 Subject: GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pages --- Modules/GNUInstallDirs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") -- cgit v0.12