Hi,

the attached patch should address the issue discussed by Daniele and Matthias.
The test case provided was also added.

Best wishes
Dimitar

>From 5d51943372608a071983921395423a3cb363d233 Mon Sep 17 00:00:00 2001
From: Dimitar Yordanov <[email protected]>
Date: Fri, 12 Feb 2016 16:19:22 +0100
Subject: [PATCH] Possible regression in cmake_parse_arguments in CMake 
v3.5.0-rc2

Dimitar Yordanov (1):
  CMakeParseArguments: Fix a regression when parsing ARGN

 Source/cmParseArgumentsCommand.cxx                    | 11 ++++++++++-
 .../RunCMake/cmake_parse_arguments/CornerCases.cmake  | 19 +++++++++++++++++++
 2 files changed, 29 insertions(+), 1 deletion(-)

-- 
2.3.0


Attachment: 0001-CMakeParseArguments-Fix-a-regression-when-parsing-AR.patch
Description: 0001-CMakeParseArguments-Fix-a-regression-when-parsing-AR.patch

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to