Skip to content

Commit

Permalink
Added default Python-Utilities path
Browse files Browse the repository at this point in the history
  • Loading branch information
Umesh-k26 committed Jan 21, 2024
1 parent 62439c9 commit 2efc35f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions MLModelRunner/gRPCModelRunner/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,11 @@ foreach(proto ${proto_list})
)
endforeach()
set( PYTHON_UTILITIES_DIRECTORY "" CACHE PATH "Path to the directory containing the python utilities")

if(PYTHON_UTILITIES_DIRECTORY STREQUAL "")
set(PYTHON_UTILITIES_DIRECTORY ${CMAKE_BINARY_DIR}/tools/MLCompilerBridge/Python-Utilities)
endif()

if(NOT PYTHON_UTILITIES_DIRECTORY STREQUAL "")
file(MAKE_DIRECTORY ${PYTHON_UTILITIES_DIRECTORY})
foreach(proto ${proto_list})
Expand Down

0 comments on commit 2efc35f

Please sign in to comment.