Quellcode durchsuchen

Fix cmake building errors (#141)

Fangjun Kuang vor 2 Jahren
Ursprung
Commit
c82510f512
4 geänderte Dateien mit 4 neuen und 0 gelöschten Zeilen
  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()