cmake: Fill in auto-tools compatible paths

This commit is contained in:
Peter Wu 2016-02-11 18:42:40 +01:00
parent 3842fe175c
commit 744e80d579
1 changed files with 8 additions and 6 deletions

View File

@ -462,13 +462,15 @@ set(top_srcdir "${CMAKE_SOURCE_DIR}")
set(top_builddir "${CMAKE_BINARY_DIR}") set(top_builddir "${CMAKE_BINARY_DIR}")
set(abs_top_srcdir "${CMAKE_SOURCE_DIR}") set(abs_top_srcdir "${CMAKE_SOURCE_DIR}")
set(abs_top_builddir "${CMAKE_BINARY_DIR}") set(abs_top_builddir "${CMAKE_BINARY_DIR}")
set(prefix "") # libnghttp2.pc (pkg-config file)
set(exec_prefix "") set(prefix "${CMAKE_INSTALL_PREFIX}")
set(libdir "") set(exec_prefix "\${prefix}")
set(includedir "") set(libdir "\${prefix}/lib")
set(bindir "") set(includedir "\${prefix}/include")
set(sbindir "")
set(VERSION "${PACKAGE_VERSION}") set(VERSION "${PACKAGE_VERSION}")
# For init scripts and systemd service file
set(bindir "${prefix}/bin")
set(sbindir "${prefix}/sbin")
foreach(name foreach(name
lib/libnghttp2.pc lib/libnghttp2.pc
lib/includes/nghttp2/nghttp2ver.h lib/includes/nghttp2/nghttp2ver.h