Install from Python source directory and not binary directory

This commit is contained in:
Gaute Lindkvist 2019-08-22 12:49:33 +02:00
parent 1c1998e951
commit e03b578075

View File

@ -716,7 +716,7 @@ if (RESINSIGHT_PRIVATE_INSTALL)
COMMAND ${RESINSIGHT_GRPC_PYTHON_EXECUTABLE} -m pip install --target=${CMAKE_BINARY_DIR}/Python grpcio
)
endif()
install(DIRECTORY ${CMAKE_BINARY_DIR}/Python/ DESTINATION ${RESINSIGHT_INSTALL_FOLDER}/Python)
install(DIRECTORY ${GRPC_PYTHON_SOURCE_PATH}/ DESTINATION ${RESINSIGHT_INSTALL_FOLDER}/Python)
endif()
endif()