Skip to content

Commit

Permalink
Fix bundle static for NOT_FOUND dep
Browse files Browse the repository at this point in the history
  • Loading branch information
wtdcode committed Apr 12, 2022
1 parent 8a86851 commit d12cffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bundle_static.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ function(bundle_static_library tgt_name bundled_tgt_name)
set_property(GLOBAL PROPERTY _${tgt_name}_static_bundle_${dependency} ON)
_recursively_collect_dependencies(${dependency})
endif()
elseif(${dependency})
elseif(dependency)
list(APPEND dep_libs ${dependency})
endif()
endforeach()
Expand Down

0 comments on commit d12cffa

Please sign in to comment.