Kaynağa Gözat

Fix cmake building errors (#141)

Fangjun Kuang 2 yıl önce
ebeveyn
işleme
c82510f512

+ 1 - 0
cmake/kaldi-native-fbank.cmake

@@ -19,6 +19,7 @@ function(download_kaldi_native_fbank)
   foreach(f IN LISTS possible_file_locations)
     if(EXISTS ${f})
       set(kaldi_native_fbank_URL  "file://${f}")
+      set(kaldi_native_fbank_URL2)
       break()
     endif()
   endforeach()

+ 1 - 0
cmake/ncnn.cmake

@@ -23,6 +23,7 @@ function(download_ncnn)
   foreach(f IN LISTS possible_file_locations)
     if(EXISTS ${f})
       set(ncnn_URL  "file://${f}")
+      set(ncnn_URL2)
       break()
     endif()
   endforeach()

+ 1 - 0
cmake/portaudio.cmake

@@ -18,6 +18,7 @@ function(download_portaudio)
   foreach(f IN LISTS possible_file_locations)
     if(EXISTS ${f})
       set(portaudio_URL  "file://${f}")
+      set(portaudio_URL2)
       break()
     endif()
   endforeach()

+ 1 - 0
cmake/pybind11.cmake

@@ -18,6 +18,7 @@ function(download_pybind11)
   foreach(f IN LISTS possible_file_locations)
     if(EXISTS ${f})
       set(pybind11_URL  "file://${f}")
+      set(pybind11_URL2)
       break()
     endif()
   endforeach()