From dec57b48477999c8232c0fd742d4d9381d20574f Mon Sep 17 00:00:00 2001 From: Daniel Evans Date: Tue, 21 Jun 2016 21:26:09 +0100 Subject: [PATCH] Install license to share/openrw on Linux and FreeBSD --- CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 808e5db1..d6e8db09 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -96,3 +96,14 @@ ENDIF() IF(${BUILD_TESTS}) add_subdirectory(tests) ENDIF() + +# +# Finally +# + +# Copy License file to install directory +if (${CMAKE_SYSTEM_NAME} MATCHES "Linux|FreeBSD") + install(FILES COPYING + DESTINATION share/openrw + ) +endif()