Fix issues about DLLs when installing pre-compiled wheels on windows (#91)
This commit is contained in:
@@ -62,7 +62,12 @@ if(NOT WIN32)
|
||||
target_link_libraries(sherpa-onnx "-Wl,-rpath,${SHERPA_ONNX_RPATH_ORIGIN}/../lib")
|
||||
endif()
|
||||
|
||||
install(TARGETS sherpa-onnx-core DESTINATION lib)
|
||||
if(SHERPA_ONNX_ENABLE_PYTHON AND WIN32)
|
||||
install(TARGETS sherpa-onnx-core DESTINATION ..)
|
||||
else()
|
||||
install(TARGETS sherpa-onnx-core DESTINATION lib)
|
||||
endif()
|
||||
|
||||
install(TARGETS sherpa-onnx DESTINATION bin)
|
||||
|
||||
if(SHERPA_ONNX_HAS_ALSA)
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
|
||||
namespace sherpa_onnx {
|
||||
|
||||
class OnlineTransducerDecoderResult;
|
||||
struct OnlineTransducerDecoderResult;
|
||||
|
||||
class OnlineTransducerModel {
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user