Skip to content

Commit

Permalink
build: Install lib licenses
Browse files Browse the repository at this point in the history
Also install licenses provided by SFML and JSON For Modern C++ in
addition to main license. Put them in a subdir.

Signed-off-by: h67ma <[email protected]>
  • Loading branch information
h67ma committed Dec 8, 2023
1 parent 8a3425d commit 97d4035
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ add_subdirectory(src)
install(DIRECTORY res DESTINATION ".")
install(DIRECTORY fonts DESTINATION ".")
install(FILES LICENSE DESTINATION ".")
install(FILES "${PROJECT_BINARY_DIR}/_deps/sfml-src/license.md" DESTINATION "licenses" RENAME "SFML-LICENSE.md")
install(FILES "${PROJECT_BINARY_DIR}/_deps/nlohmann_json-src/LICENSE.MIT" DESTINATION "licenses" RENAME "NLOHMANN-JSON-LICENSE.MIT")

if(WIN32)
# seems a bit hacky but I guess it works?
Expand Down

0 comments on commit 97d4035

Please sign in to comment.