Fix bundle static for NOT_FOUND dep

This commit is contained in:
lazymio 2022-04-12 20:24:16 +02:00
parent 8a86851804
commit d12cffa015
No known key found for this signature in database
GPG Key ID: DFF27E34A47CB873

View File

@ -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()