1
1
mirror of https://github.com/rui314/mold.git synced 2024-10-26 13:10:46 +03:00

Install LICENSE.third-party when using CMake

This commit is contained in:
Alois Klink 2023-07-27 01:10:22 +01:00
parent de991b519a
commit 3ed5b8ddf7

View File

@ -442,6 +442,9 @@ if(NOT CMAKE_SKIP_INSTALL_RULES)
if(EXISTS "${CMAKE_SOURCE_DIR}/LICENSE")
install(FILES LICENSE DESTINATION ${CMAKE_INSTALL_DOCDIR})
endif()
if(EXISTS "${CMAKE_SOURCE_DIR}/LICENSE.third-party")
install(FILES "LICENSE.third-party" DESTINATION "${CMAKE_INSTALL_DOCDIR}")
endif()
function(mold_install_relative_symlink OLD NEW)
install(CODE "