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 54a5759 commit 28b2048Copy full SHA for 28b2048
cmake/external_dependencies.cmake
@@ -38,7 +38,8 @@ function(find_package_or_fetch)
38
SYSTEM
39
EXCLUDE_FROM_ALL)
40
FetchContent_MakeAvailable(${arg_PACKAGE_NAME})
41
- get_property(all_targets GLOBAL PROPERTY TARGETS)
+# get_property(all_targets GLOBAL PROPERTY TARGETS)
42
+ get_property(all_targets TARGET ${arg_PACKAGE_NAME} PROPERTY ALL_TARGETS)
43
message(STATUS "Available targets after ${arg_PACKAGE_NAME} build: ${all_targets}")
44
message(STATUS "\t✅ Fetched ${arg_PACKAGE_NAME}")
45
else()
0 commit comments