mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-27 13:39:08 +08:00
b5bb1511f0
* [vcpkg] Add VCPKG_HOST_TRIPLET. Improve vcpkg.schema.json * [many ports] Apply host dependencies * [yasm-tool] Revert yasm-tool changes to split into PR #16478 * [many ports] Add versions * [vcpkg.cmake] Revert change applied in other PR * [boost-modular-build-helper] Merge from master Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
11 lines
444 B
CMake
11 lines
444 B
CMake
file(GLOB GRPC_PLUGINS "${_IMPORT_PREFIX}/../@HOST_TRIPLET@/tools/grpc/grpc_*_plugin*")
|
|
|
|
foreach(PLUGIN ${GRPC_PLUGINS})
|
|
get_filename_component(PLUGIN_NAME "${PLUGIN}" NAME_WE)
|
|
add_executable(gRPC::${PLUGIN_NAME} IMPORTED)
|
|
set_property(TARGET gRPC::${PLUGIN_NAME} APPEND PROPERTY IMPORTED_CONFIGURATIONS RELEASE)
|
|
set_target_properties(gRPC::${PLUGIN_NAME} PROPERTIES
|
|
IMPORTED_LOCATION_RELEASE "${PLUGIN}"
|
|
)
|
|
endforeach()
|