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 2066564 commit 7d89e7eCopy full SHA for 7d89e7e
cmake/ystdlib-helpers.cmake
@@ -209,10 +209,11 @@ function(install_library)
209
set(ARG_CONFIG_OUTPUT_DIR "${CMAKE_CURRENT_BINARY_DIR}")
210
endif()
211
212
+ set(EXPORT_NAME "${ARG_NAME}-target")
213
install(
214
TARGETS
215
"${ARG_NAME}"
- EXPORT "${ARG_NAME}-target"
216
+ EXPORT "${EXPORT_NAME}"
217
LIBRARY
218
ARCHIVE
219
RUNTIME
@@ -221,7 +222,7 @@ function(install_library)
221
222
)
223
224
225
226
DESTINATION ${ARG_CONFIG_DEST_DIR}
227
NAMESPACE "${ARG_NAMESPACE}::"
228
COMPONENT "${ARG_NAME}"
0 commit comments