summaryrefslogtreecommitdiffstats
path: root/Modules/Platform/ADSP-Determine.cmake
diff options
context:
space:
mode:
authorJosh Channings <josh.channings@musictribe.com>2023-11-24 12:52:50 (GMT)
committerJosh Channings <josh.channings@musictribe.com>2023-11-30 16:49:03 (GMT)
commit85e25451af91c16131fb542dc1bef655c4ec1b43 (patch)
treef513f703e2e903829a97860bd94867fe55fd32d6 /Modules/Platform/ADSP-Determine.cmake
parent04d8a39e5c44b07bb5ca2a57756591c6280cc61d (diff)
downloadCMake-85e25451af91c16131fb542dc1bef655c4ec1b43.zip
CMake-85e25451af91c16131fb542dc1bef655c4ec1b43.tar.gz
CMake-85e25451af91c16131fb542dc1bef655c4ec1b43.tar.bz2
ADSP: Add /opt/analog/cces to _find_adsp_root()'s search space
This is the default install location on Linux.
Diffstat (limited to 'Modules/Platform/ADSP-Determine.cmake')
-rw-r--r--Modules/Platform/ADSP-Determine.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/Platform/ADSP-Determine.cmake b/Modules/Platform/ADSP-Determine.cmake
index 6ccf1ea..d5a34c5 100644
--- a/Modules/Platform/ADSP-Determine.cmake
+++ b/Modules/Platform/ADSP-Determine.cmake
@@ -21,6 +21,9 @@ endif()
if(NOT CMAKE_ADSP_ROOT)
_find_adsp_root("C:/Program Files (x86)/Analog Devices/VisualDSP *")
endif()
+if(NOT CMAKE_ADSP_ROOT)
+ _find_adsp_root("/opt/analog/cces *")
+endif()
if(NOT IS_DIRECTORY "${CMAKE_ADSP_ROOT}")
message(FATAL_ERROR "ADSP: could not find CCES/VDSP++ install directory ${CMAKE_ADSP_ROOT}")
endif()