Skip to content

Commit

Permalink
install COPYING
Browse files Browse the repository at this point in the history
  • Loading branch information
rfomin committed Sep 28, 2024
1 parent be6a750 commit 697b342
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions prboom2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,12 @@ if(NOT CMAKE_CROSSCOMPILING)
export(TARGETS ${CROSS_EXPORTS} FILE "${CMAKE_BINARY_DIR}/ImportExecutables.cmake")
endif()

if(WIN32)
install(FILES COPYING DESTINATION . RENAME COPYING.txt)
else()
install(FILES COPYING DESTINATION "share/doc/${PROJECT_SHORTNAME}")
endif()

if(WIN32)
set(CPACK_GENERATOR ZIP)
elseif(LINUX)
Expand Down

0 comments on commit 697b342

Please # to comment.