Skip to content

Commit

Permalink
🧼 [CMakeLists.txt] Move License section next to the section where we …
Browse files Browse the repository at this point in the history
…copy all the files
  • Loading branch information
JulesFouchy committed Feb 25, 2025
1 parent 3d470b4 commit 221aec2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ target_link_libraries(Coollab-Properties INTERFACE httplib)
install(FILES "lib/cpp-httplib/LICENSE" DESTINATION "license/cpp-httplib")
install(FILES "lib/openssl/LICENSE.txt" DESTINATION "license/openssl")

# License
install(FILES "LICENSE.txt" DESTINATION "license" RENAME "Coollab-LICENSE.txt")

# Grab all the source files
file(GLOB_RECURSE COOLLAB_SOURCES CONFIGURE_DEPENDS src/*)
set(COOLLAB_VERSION_STRING "\"${COOLLAB_VERSION}\"")
Expand All @@ -102,6 +99,9 @@ Lab_copy_folder("res")
Lab_copy_folder("User data Default")
Lab_copy_folder("User data Init")
Lab_copy_folder("Nodes")

# License
install(FILES "LICENSE.txt" DESTINATION "license" RENAME "Coollab-LICENSE.txt")
Cool__target_copy_file(${PROJECT_NAME} LICENSE.txt)

if(MSVC)
Expand Down

0 comments on commit 221aec2

Please sign in to comment.