summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2019-11-19 05:03:10 +0000
committerEgor Yusov <egor.yusov@gmail.com>2019-11-19 05:03:10 +0000
commit58b96f03b6a101c19d2ed42f3ed57e710fccd889 (patch)
treec63b909b0f5c4cd3c309a0a7c6dfd0277d60aec7
parentMinor update (diff)
downloadDiligentTools-58b96f03b6a101c19d2ed42f3ed57e710fccd889.tar.gz
DiligentTools-58b96f03b6a101c19d2ed42f3ed57e710fccd889.zip
Updated install fodler structure
-rw-r--r--ThirdParty/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/ThirdParty/CMakeLists.txt b/ThirdParty/CMakeLists.txt
index 9348c68..93fe6ba 100644
--- a/ThirdParty/CMakeLists.txt
+++ b/ThirdParty/CMakeLists.txt
@@ -6,8 +6,8 @@ add_subdirectory(zlib-1.2.8)
add_subdirectory(lpng-1.6.17)
add_subdirectory(lua-5.2.3)
-file(RELATIVE_PATH TOOLS_DIR_PATH "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}/..")
-set(LICENSE_INSTALL_PATH "${TOOLS_DIR_PATH}/Licenses/ThirdParty")
+file(RELATIVE_PATH THIRD_PARTY_DIR "${CMAKE_SOURCE_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
+set(LICENSE_INSTALL_PATH "Licenses/${THIRD_PARTY_DIR}")
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)