Przeglądaj źródła

ADSP: Add /opt/analog/cces to _find_adsp_root()'s search space

This is the default install location on Linux.
Josh Channings 2 lat temu
rodzic
commit
85e25451af
1 zmienionych plików z 3 dodań i 0 usunięć
  1. 3 0
      Modules/Platform/ADSP-Determine.cmake

+ 3 - 0
Modules/Platform/ADSP-Determine.cmake

@@ -21,6 +21,9 @@ endif()
 if(NOT CMAKE_ADSP_ROOT)
 if(NOT CMAKE_ADSP_ROOT)
   _find_adsp_root("C:/Program Files (x86)/Analog Devices/VisualDSP *")
   _find_adsp_root("C:/Program Files (x86)/Analog Devices/VisualDSP *")
 endif()
 endif()
+if(NOT CMAKE_ADSP_ROOT)
+  _find_adsp_root("/opt/analog/cces *")
+endif()
 if(NOT IS_DIRECTORY "${CMAKE_ADSP_ROOT}")
 if(NOT IS_DIRECTORY "${CMAKE_ADSP_ROOT}")
   message(FATAL_ERROR "ADSP: could not find CCES/VDSP++ install directory ${CMAKE_ADSP_ROOT}")
   message(FATAL_ERROR "ADSP: could not find CCES/VDSP++ install directory ${CMAKE_ADSP_ROOT}")
 endif()
 endif()