From e25d6dcc1efe71854efe0988734e4fb47eb00231 Mon Sep 17 00:00:00 2001 From: Egor Yusov Date: Tue, 17 Sep 2019 21:07:09 -0700 Subject: Added CMake commands to install third party licenses --- ThirdParty/CMakeLists.txt | 8 ++++++++ ThirdParty/tinygltf/LICENSE | 21 +++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 ThirdParty/tinygltf/LICENSE diff --git a/ThirdParty/CMakeLists.txt b/ThirdParty/CMakeLists.txt index a1f7614..b3685f0 100644 --- a/ThirdParty/CMakeLists.txt +++ b/ThirdParty/CMakeLists.txt @@ -5,3 +5,11 @@ add_subdirectory(libtiff) add_subdirectory(zlib-1.2.8) add_subdirectory(lpng-1.6.17) add_subdirectory(lua-5.2.3) + +set(LICENSE_INSTALL_PATH "DiligentTools/Licenses/ThirdParty") +install(FILES libjpeg-9a/README DESTINATION ${LICENSE_INSTALL_PATH} RENAME libjpeg-readme.txt) +install(FILES libtiff/COPYRIGHT DESTINATION ${LICENSE_INSTALL_PATH} RENAME libtiff-copyright.txt) +install(FILES lpng-1.6.17/LICENSE DESTINATION ${LICENSE_INSTALL_PATH} RENAME lpng-license.txt) +install(FILES lua-5.2.3/doc/readme.html DESTINATION ${LICENSE_INSTALL_PATH} RENAME lua-readme.html) +install(FILES tinygltf/LICENSE DESTINATION ${LICENSE_INSTALL_PATH} RENAME tinygltf-license.txt) +install(FILES zlib-1.2.8/README DESTINATION ${LICENSE_INSTALL_PATH} RENAME zlib-readme.txt) diff --git a/ThirdParty/tinygltf/LICENSE b/ThirdParty/tinygltf/LICENSE new file mode 100644 index 0000000..34398ad --- /dev/null +++ b/ThirdParty/tinygltf/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2017 Syoyo Fujita, Aurélien Chatelain and many contributors + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. -- cgit v1.2.3