aboutsummaryrefslogtreecommitdiff
path: root/cmake/addons
diff options
context:
space:
mode:
authorAlwin Esch <alwin.esch@web.de>2019-04-28 22:47:12 +0200
committerAlwin Esch <alwin.esch@web.de>2019-05-19 16:16:13 +0200
commitfb8318e87396c5ad5360d46e21bacf954410f6d5 (patch)
treea56e7c592ab4cbdfe8bbb1968a1b1d7b61051e1a /cmake/addons
parentf5636182c08afe2e87fdb3aa105c170111e42a01 (diff)
[cmake][addons] add THIRD_PARTY_PATH definition
Used for addons where need special folders to store there content (if not set the addon define it byself). e.g. Google Chromium addon where his git bring: "unable to create file" ... "Filename too long" see also WARNING by Windows on: https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart
Diffstat (limited to 'cmake/addons')
-rw-r--r--cmake/addons/CMakeLists.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmake/addons/CMakeLists.txt b/cmake/addons/CMakeLists.txt
index 8f0420f945..a2a962f879 100644
--- a/cmake/addons/CMakeLists.txt
+++ b/cmake/addons/CMakeLists.txt
@@ -123,6 +123,17 @@ if(CMAKE_TOOLCHAIN_FILE)
message(STATUS ${BUILD_ARGS})
endif()
+# used for addons where need special folders to store there content (if
+# not set the addon define it byself).
+# e.g. Google Chromium addon where his git bring:
+# - "unable to create file" ... "Filename too long"
+# see also WARNING by Windows on: https://bitbucket.org/chromiumembedded/cef/wiki/MasterBuildQuickStart
+if(THIRD_PARTY_PATH)
+ message(STATUS "Third party lib path specified")
+ message(STATUS ${THIRD_PARTY_PATH})
+ list(APPEND BUILD_ARGS -DTHIRD_PARTY_PATH=${THIRD_PARTY_PATH})
+endif()
+
if(NOT ADDONS_TO_BUILD)
set(ADDONS_TO_BUILD "all")
else()