|
|
@ -19,6 +19,7 @@ endif () |
|
|
|
# HACK: cmake >= 3.4 fixes this |
|
|
|
# HACK: cmake >= 3.4 fixes this |
|
|
|
if (CMAKE_INSTALL_PREFIX MATCHES "^/usr/?$") |
|
|
|
if (CMAKE_INSTALL_PREFIX MATCHES "^/usr/?$") |
|
|
|
set(CMAKE_INSTALL_SYSCONFDIR "/etc") |
|
|
|
set(CMAKE_INSTALL_SYSCONFDIR "/etc") |
|
|
|
|
|
|
|
set(CMAKE_INSTALL_LOCALSTATEDIR "/var") |
|
|
|
endif () |
|
|
|
endif () |
|
|
|
include(GNUInstallDirs) |
|
|
|
include(GNUInstallDirs) |
|
|
|
|
|
|
|
|
|
|
@ -44,6 +45,7 @@ message(STATUS "- configs : ${CMAKE_INSTALL_FULL_SYSCONFDIR}") |
|
|
|
message(STATUS "- binary : ${CMAKE_INSTALL_FULL_BINDIR}") |
|
|
|
message(STATUS "- binary : ${CMAKE_INSTALL_FULL_BINDIR}") |
|
|
|
message(STATUS "- binary : ${CMAKE_INSTALL_FULL_SBINDIR}") |
|
|
|
message(STATUS "- binary : ${CMAKE_INSTALL_FULL_SBINDIR}") |
|
|
|
message(STATUS "- data : ${CMAKE_INSTALL_FULL_DATAROOTDIR}") |
|
|
|
message(STATUS "- data : ${CMAKE_INSTALL_FULL_DATAROOTDIR}") |
|
|
|
|
|
|
|
message(STATUS "- state : ${CMAKE_INSTALL_FULL_LOCALSTATEDIR}") |
|
|
|
message(STATUS "Build type : ${CMAKE_BUILD_TYPE}") |
|
|
|
message(STATUS "Build type : ${CMAKE_BUILD_TYPE}") |
|
|
|
message(STATUS "Options:") |
|
|
|
message(STATUS "Options:") |
|
|
|
message(STATUS "- WITH_CLIENT : ${WITH_CLIENT}") |
|
|
|
message(STATUS "- WITH_CLIENT : ${WITH_CLIENT}") |
|
|
|