Fix issues about DLLs when installing pre-compiled wheels on windows (#91)
This commit is contained in:
@@ -49,7 +49,11 @@ function(download_kaldi_native_fbank)
|
||||
INTERFACE
|
||||
${kaldi_native_fbank_SOURCE_DIR}/
|
||||
)
|
||||
install(TARGETS kaldi-native-fbank-core DESTINATION lib)
|
||||
if(SHERPA_ONNX_ENABLE_PYTHON AND WIN32)
|
||||
install(TARGETS kaldi-native-fbank-core DESTINATION ..)
|
||||
else()
|
||||
install(TARGETS kaldi-native-fbank-core DESTINATION lib)
|
||||
endif()
|
||||
endfunction()
|
||||
|
||||
download_kaldi_native_fbank()
|
||||
|
||||
Reference in New Issue
Block a user