diff options
author | montellese <montellese@kodi.tv> | 2016-04-08 19:46:54 +0200 |
---|---|---|
committer | montellese <montellese@kodi.tv> | 2016-04-08 19:46:54 +0200 |
commit | b975b64acd9470962dc32241b36fdb1f659c9099 (patch) | |
tree | 14397bda1f5bfb4b17dfb50b32768d546ea632d7 /project | |
parent | a9cdf97565060d62114d45cf339b548ddf6cf1d6 (diff) |
[cmake] binary addons: trim ADDONS_TO_BUILD parameter to avoid empty entries in the list
Diffstat (limited to 'project')
-rw-r--r-- | project/cmake/addons/CMakeLists.txt | 1 | ||||
-rw-r--r-- | project/cmake/addons/bootstrap/bootstrap.cmake | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/project/cmake/addons/CMakeLists.txt b/project/cmake/addons/CMakeLists.txt index afcaf14dcc..2a5c11bfe0 100644 --- a/project/cmake/addons/CMakeLists.txt +++ b/project/cmake/addons/CMakeLists.txt @@ -120,6 +120,7 @@ endif() if(NOT ADDONS_TO_BUILD) set(ADDONS_TO_BUILD "all") else() + string(STRIP "${ADDONS_TO_BUILD}" ADDONS_TO_BUILD) message(STATUS "Building following addons: ${ADDONS_TO_BUILD}") separate_arguments(ADDONS_TO_BUILD) endif() diff --git a/project/cmake/addons/bootstrap/bootstrap.cmake b/project/cmake/addons/bootstrap/bootstrap.cmake index c78910ce43..57cf174130 100644 --- a/project/cmake/addons/bootstrap/bootstrap.cmake +++ b/project/cmake/addons/bootstrap/bootstrap.cmake @@ -9,6 +9,7 @@ endif() if(NOT ADDONS_TO_BUILD) set(ADDONS_TO_BUILD "all") else() + string(STRIP "${ADDONS_TO_BUILD}" ADDONS_TO_BUILD) separate_arguments(ADDONS_TO_BUILD) endif() |