Commit 7b2261fb authored by Emmanuel Promayon's avatar Emmanuel Promayon
Browse files

FIXED oops... one last forgotten parse_argument

parent 259e1c17
......@@ -11,6 +11,7 @@
#! [NAME packageName]
#! [VENDOR vendorName]
#! [CONTACT contactName]
#! [LICENSE "This is the license text..."]
#! )
#! \endcode
#!
......@@ -18,7 +19,7 @@
#! \param NAME (optional) Specify the package name (default is project name)
#! \param VENDOR (optional) Specify the vendor name (default is TIMC-IMAG)
#! \param CONTACT (optional) Specify the contact name (default is link to CamiTK website)
#! \param APPLICATIONS (optional) If you want to package some applications
#! \param LICENSE (optional) Specify the license test
#!
#! When configuring CMake, do not forget to set the CMAKE_INSTALL_PREFIX correctly (e.g., /usr on Linux)
#! It will always use the CamiTK install directory as install prefix (install where the core is already)
......@@ -30,11 +31,11 @@ macro(camitk_cep_packaging)
# CEP Packaging only works for stand-alone CEP
if (NOT CAMITK_EXTENSION_PROJECT_SET)
parse_arguments(CAMITK_CEP_PACKAGING
"NAME;VENDOR;CONTACT;APPLICATIONS;DESCRIPTION;LICENSE" # possible lists
"" # possible option
${ARGN}
)
set(options "")
set(oneValueArgs NAME VENDOR CONTACT DESCRIPTION LICENSE)
set(multiValueArgs "")
cmake_parse_arguments(CAMITK_CEP_PACKAGING "${options}" "${oneValueArgs}" "${multiValueArgs}" ${ARGN} )
# Clean list of targets by removing duplicates
# Those may appear if configuring more than once (i.e. by manually clicking more than once on the CMake configure
......@@ -490,4 +491,4 @@ message(STATUS "Generated CEP manifest in CEPPackageManifest.xml")
endif() # Standalone CEP
endmacro()
\ No newline at end of file
endmacro()
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment