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.
TARGETS_TO_EXPORT
1 parent b3a05c2 commit 39410b1Copy full SHA for 39410b1
cmake/modules/LibraryTarget.cmake
@@ -551,6 +551,7 @@ if (NOT META_NO_INSTALL_TARGETS AND ENABLE_INSTALL_TARGETS)
551
if (NOT META_HEADER_ONLY_LIB AND NOT META_PLUGIN_CATEGORY)
552
list(APPEND TARGETS_TO_EXPORT "${META_TARGET_NAME}-headers")
553
endif ()
554
+ list(REMOVE_DUPLICATES TARGETS_TO_EXPORT)
555
install(
556
TARGETS ${TARGETS_TO_EXPORT}
557
EXPORT "${NAMESPACE_PREFIX}${META_PROJECT_NAME}${META_CONFIG_SUFFIX}Targets"
0 commit comments