瀏覽代碼

Fix cmake building errors (#141)

Fangjun Kuang 2 年之前
父節點
當前提交
c82510f512
共有 4 個文件被更改,包括 4 次插入0 次删除
  1. 1 0
      cmake/kaldi-native-fbank.cmake
  2. 1 0
      cmake/ncnn.cmake
  3. 1 0
      cmake/portaudio.cmake
  4. 1 0
      cmake/pybind11.cmake

+ 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()