forked from mindspore-Ecosystem/mindspore
fix java api
This commit is contained in:
parent
4b9e0708b8
commit
db8a735970
|
@ -37,7 +37,11 @@ set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE BOTH)
|
|||
set(CMAKE_FIND_ROOT_PATH_MODE_PACKAGE BOTH)
|
||||
|
||||
if(DEFINED ENV{MSLITE_ENABLE_SERVER_INFERENCE})
|
||||
set(MSLITE_ENABLE_SERVER_INFERENCE $ENV{MSLITE_ENABLE_SERVER_INFERENCE})
|
||||
set(MSLITE_ENABLE_PARALLEL_INFERENCE on)
|
||||
endif()
|
||||
|
||||
if(DEFINED ENV{MSLITE_ENABLE_PARALLEL_INFERENCE})
|
||||
set(MSLITE_ENABLE_PARALLEL_INFERENCE $ENV{MSLITE_ENABLE_PARALLEL_INFERENCE})
|
||||
endif()
|
||||
|
||||
if(ENABLE_VERBOSE)
|
||||
|
|
Loading…
Reference in New Issue