diff --git a/cmake/attaConfig.cmake.in b/cmake/attaConfig.cmake.in index 1c47fbe5..60b9008b 100644 --- a/cmake/attaConfig.cmake.in +++ b/cmake/attaConfig.cmake.in @@ -12,7 +12,8 @@ set(atta_DEFINITIONS "@ATTA_DEFINITIONS@") set(atta_PCH "@ATTA_INSTALL_PCH@") set(atta_FOUND TRUE) -macro(atta_add_target target sources) +macro(atta_add_target target) + set(sources ${ARGN}) if(ATTA_STATIC_PROJECT) add_library(${target} STATIC ${sources}) else()