GNUInstallDirs: All *BSDs use ${PREFIX}/{man,info} for man and info pages
This commit is contained in:
parent
1a5fddfe6d
commit
956054aeca
|
@ -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")
|
||||||
|
|
Loading…
Reference in New Issue