MXS-1300: Add client as a valid package name

The MaxCtrl component, `client`, needs to be in the list of valid
component names.
This commit is contained in:
Markus Mäkelä
2017-08-07 16:10:52 +03:00
parent c2a2688b93
commit 7c38a56ea2

View File

@ -3,7 +3,7 @@
execute_process(COMMAND uname -m COMMAND tr -d '\n' OUTPUT_VARIABLE CPACK_PACKAGE_ARCHITECTURE)
# Check target
set(PACK_TARGETS "core" "devel" "external" "all")
set(PACK_TARGETS "core" "devel" "external" "all" "client")
if(DEFINED TARGET_COMPONENT AND NOT TARGET_COMPONENT STREQUAL "")
set(LIST_INDEX -1)
list(FIND PACK_TARGETS ${TARGET_COMPONENT} LIST_INDEX)