We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f29fb20 commit 879bca4Copy full SHA for 879bca4
cmake/nanobind-config.cmake
@@ -459,7 +459,7 @@ function(nanobind_sanitizer_preload_env env_var)
459
get_target_property(deps ${target} LINK_LIBRARIES)
460
if(deps AND NOT deps STREQUAL "deps-NOTFOUND")
461
foreach(dep ${deps})
462
- if(NOT "${dep}" IN_LIST all_deps)
+ if(NOT "${dep}" IN_LIST all_deps AND TARGET "${dep}")
463
list(APPEND all_deps "${dep}")
464
endif()
465
endforeach()
0 commit comments