GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pages

This commit is contained in:
Dmitry Marakasov 2016-09-26 18:22:16 -04:00 committed by Brad King
parent 1a5fddfe6d
commit 956054aeca
1 changed files with 1 additions and 1 deletions

View File

@ -265,7 +265,7 @@ if(NOT CMAKE_INSTALL_DATADIR)
set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}") set(CMAKE_INSTALL_DATADIR "${CMAKE_INSTALL_DATAROOTDIR}")
endif() endif()
if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD") if(CMAKE_SYSTEM_NAME MATCHES "^(.*BSD|DragonFly)$")
if(NOT CMAKE_INSTALL_INFODIR) if(NOT CMAKE_INSTALL_INFODIR)
set(CMAKE_INSTALL_INFODIR "" CACHE PATH "info documentation (info)") set(CMAKE_INSTALL_INFODIR "" CACHE PATH "info documentation (info)")
set(CMAKE_INSTALL_INFODIR "info") set(CMAKE_INSTALL_INFODIR "info")