Skip to content

Commit

Permalink
Fix: Project target not compiling all sources
Browse files Browse the repository at this point in the history
  • Loading branch information
brenocq committed Oct 7, 2023
1 parent 458906d commit 0a34ec2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmake/attaConfig.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 0a34ec2

Please sign in to comment.