Automatic installation of vcpkg dependencies (#6848)

* Added AutoVcpkg files to cmake directory.
* Add auto install of vcpkg packages
* Add grpc install to GrpcInterface module
* Set VCPKG_ROOT in GitHub actions

Co-authored-by: Ruben Thoms <ruben.thoms@ceetronsolutions.com>
This commit is contained in:
Gaute Lindkvist
2020-10-30 12:29:57 +01:00
committed by GitHub
parent 3cd3b319d4
commit 787dae4044
8 changed files with 200 additions and 15 deletions

View File

@@ -5,6 +5,10 @@ project (GrpcInterface)
message(STATUS "GRPC enabled")
add_definitions(-DENABLE_GRPC)
if (VCPKG_AUTO_INSTALL)
vcpkg_install(grpc)
endif()
set(CMAKE_UNITY_BUILD false)
set(RESINSIGHT_GRPC_PYTHON_EXECUTABLE "" CACHE FILEPATH "gRPC : Path to Python 3 executable, required to build the Python client library")