From df69bba34aa3b59c84570ba94365f03a15b12a5f Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Sun, 2 Feb 2014 14:55:17 -0700 Subject: [PATCH] CMake: Fix typos in Interrogate. --- cmake/macros/Interrogate.cmake | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/macros/Interrogate.cmake b/cmake/macros/Interrogate.cmake index 47509f96de..e4c4c03af4 100644 --- a/cmake/macros/Interrogate.cmake +++ b/cmake/macros/Interrogate.cmake @@ -15,6 +15,8 @@ set(IGATE_FLAGS ${INTERROGATE_OPTIONS} -DCPPPARSER -D__cplusplus -Dvolatile -Dmu set(INTERROGATE_EXCLUDE_REGEXES ".*\\.I$" ".*\\.N$" + ".*\\.lxx$" + ".*\\.yxx$" ".*_src\\..*") if(WIN32) @@ -39,11 +41,11 @@ function(target_interrogate target) if(HAVE_PYTHON AND HAVE_INTERROGATE) set(sources) set(want_all OFF) - foreach(arg ${ARGV}) + foreach(arg ${ARGN}) if(arg STREQUAL "ALL") set(want_all ON) else() - list(APPEND sources "${source}") + list(APPEND sources "${arg}") endif() endforeach()