mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
@@ -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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user