message: EVPath 2019-06-18 (24dd401c)
  Code extracted from:
  at commit (master).
  Upstream Shortlog
  Kyle Edwards (2):
  Make header and pkgconfig installation optional
  Use GNUInstallDirs
diff: @@ -15,15 +15,9 @@ if(POLICY CMP0077)
  endif()
  # Some boilerplate to setup nice output directories
  -set(CMAKE_INSTALL_BINDIR bin CACHE STRING "Installation runtime subdirectory")
  -set(CMAKE_INSTALL_LIBDIR lib CACHE STRING "Installation library subdirectory")
  -set(CMAKE_INSTALL_INCLUDEDIR include
  - CACHE STRING "Installation include subdirectory")
  +include(GNUInstallDirs)
  set(CMAKE_INSTALL_CMAKEDIR ${CMAKE_INSTALL_LIBDIR}/cmake/EVPath
  CACHE STRING "Installation CMake subdirectory")
  -mark_as_advanced(CMAKE_INSTALL_BINDIR)
  -mark_as_advanced(CMAKE_INSTALL_LIBDIR)
  -mark_as_advanced(CMAKE_INSTALL_INCLUDEDIR)
  mark_as_advanced(CMAKE_INSTALL_CMAKEDIR)
  if(NOT CMAKE_ARCHIVE_OUTPUT_DIRECTORY)
  @@ -538,6 +532,9 @@ _pkg_expand_libs("${_pkg_config_libs}" _pkg_config_libs)
  _pkg_expand_libs("${_pkg_config_private_libs}" _pkg_config_private_libs)
  # Setup pkgconfig
  +option(EVPATH_INSTALL_PKGCONFIG "Install EVPath pkgconfig files" ON)
  +mark_as_advanced(EVPATH_INSTALL_PKGCONFIG)
  +if(EVPATH_INSTALL_PKGCONFIG)
  configure_file(
  ${CMAKE_CURRENT_SOURCE_DIR}/evpath.pc.in
  ${CMAKE_CURRENT_BINARY_DIR}/evpath.pc
  @@ -550,7 +547,11 @@ configure_file(
  @ONLY)
  install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/evpath_config
  DESTINATION "${CMAKE_INSTALL_BINDIR}")
  +endif()
  +option(EVPATH_INSTALL_HEADERS "Install EVPath header files" ON)
  +mark_as_advanced(EVPATH_INSTALL_HEADERS)
  +if(EVPATH_INSTALL_HEADERS)
  install(
  FILES
  evpath.h
  @@ -560,6 +561,7 @@ install(
  ${CMAKE_CURRENT_BINARY_DIR}/revpath.h
  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
  )
  +endif()
  install(TARGETS EVPath ${EVPATH_TRANSPORT_TARGETS} EXPORT EVPathTargets
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
  