mirror of
https://github.com/pineappleEA/pineapple-src.git
synced 2024-12-04 17:38:23 -05:00
11 lines
444 B
CMake
Executable File
11 lines
444 B
CMake
Executable File
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()
|