From 0a34ec2a3e3d5ce1cfb21a8d84ca66086a263f81 Mon Sep 17 00:00:00 2001 From: Breno Cunha Queiroz Date: Sat, 7 Oct 2023 11:46:43 +0200 Subject: [PATCH] Fix: Project target not compiling all sources --- cmake/attaConfig.cmake.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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()