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

This commit is contained in:
Dmitry Marakasov authored and Brad King committed 2016-09-27 08:33:57 -04:00
1 parent 1a5fddfe6d
commit 956054aeca
1 file changed
+1 -1
+1 -1
View File
@@ -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")