message: install license files
diff: @@ -17,6 +17,10 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
  set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
  set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
  +if(CMAKE_INSTALL_PREFIX_INITIALIZED_TO_DEFAULT)
  + set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "Install location." FORCE)
  +endif()
  +
  set (CMAKE_CXX_STANDARD 14 CACHE STRING
  "C++ standard for preference (11, 14, 17, 20, etc.)")
  set (CMAKE_CXX_STANDARD_REQUIRED ON)
  @@ -101,6 +105,14 @@ if (BUILD_APPS AND BUILD_PLUGINS)
  add_subdirectory(plugins)
  endif()
  +install(FILES
  + ${PROJECT_SOURCE_DIR}/LICENSE.txt
  + ${PROJECT_SOURCE_DIR}/third-party-programs.txt
  + ${PROJECT_SOURCE_DIR}/third-party-programs-OSPRay.txt
  + ${PROJECT_SOURCE_DIR}/CHANGELOG.md
  + ${PROJECT_SOURCE_DIR}/README.md
  + DESTINATION ${CMAKE_INSTALL_DOCDIR} COMPONENT apps
  +)
  include(package)
  # must be last
  