mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Python CMake: change RESINSIGHT_GRPC_PYTHON_EXECUTABLE to be FILEPATH instead of PATH
This commit is contained in:
parent
197279ccbf
commit
7afeae144a
@ -549,7 +549,7 @@ endforeach()
|
|||||||
|
|
||||||
# Copy all grpc libraries and python files
|
# Copy all grpc libraries and python files
|
||||||
if (RESINSIGHT_ENABLE_GRPC)
|
if (RESINSIGHT_ENABLE_GRPC)
|
||||||
set(RESINSIGHT_GRPC_PYTHON_EXECUTABLE "" CACHE PATH "gRPC : Path to Python 3 executable, required to build the Python client library")
|
set(RESINSIGHT_GRPC_PYTHON_EXECUTABLE "" CACHE FILEPATH "gRPC : Path to Python 3 executable, required to build the Python client library")
|
||||||
if (RESINSIGHT_GRPC_PYTHON_EXECUTABLE)
|
if (RESINSIGHT_GRPC_PYTHON_EXECUTABLE)
|
||||||
if (EXISTS ${RESINSIGHT_GRPC_PYTHON_EXECUTABLE})
|
if (EXISTS ${RESINSIGHT_GRPC_PYTHON_EXECUTABLE})
|
||||||
add_custom_target(GeneratedPythonSources DEPENDS ${GRPC_GENERATED_PYTHON_SOURCES})
|
add_custom_target(GeneratedPythonSources DEPENDS ${GRPC_GENERATED_PYTHON_SOURCES})
|
||||||
|
Loading…
Reference in New Issue
Block a user