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:
parent
de991b519a
commit
3ed5b8ddf7
@ -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 "
|
||||
|
Loading…
Reference in New Issue
Block a user