From e548a9c4521d49923d14c50519e994f6afcea252 Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Wed, 8 Jul 2015 21:01:58 -1000 Subject: [PATCH] Fixed make_dnalist macro --- DataSpec/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/DataSpec/CMakeLists.txt b/DataSpec/CMakeLists.txt index 4f4850b16..56041b5a8 100644 --- a/DataSpec/CMakeLists.txt +++ b/DataSpec/CMakeLists.txt @@ -5,8 +5,8 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11") find_package(atdna REQUIRED) # Assembles a source/header pair list for use in a DNA library -macro(make_dnalist outlist inlist) -foreach(type ${inlist}) +macro(make_dnalist outlist) +foreach(type ${ARGN}) atdna(${type}.cpp ${type}.hpp) list(APPEND ${outlist} ${type}.cpp ${type}.hpp) endforeach()