lib/xcake/generator/target_library_generator.rb in xcake-0.6.19 vs lib/xcake/generator/target_library_generator.rb in xcake-0.6.20

- old
+ new

@@ -6,11 +6,11 @@ def visit_target(target) puts "Integrating System Libraries for #{target}..." native_target = @context.native_object_for(target) - if target.system_libraries - native_target.add_system_libraries(target.system_libraries) - end + + system_libraries = target.system_libraries + native_target.add_system_libraries(system_libraries) if system_libraries end end end