Adapt to new LLVM location in repo build.

This will reenable incremental PSDB builds.

Change-Id: I2311c124b06b544202f7c1db31b6607f2580194e
Этот коммит содержится в:
Sean Keely committed 2020-04-27 17:58:35 -04:00
1 родитель 87202d4408
Коммит 675f73cda9
1 file changed
+12
+12
Просмотреть файл
@@ -205,3 +205,15 @@ function ( get_version DEFAULT_VERSION_STRING )
#message("${VERSION_JOB}")
endfunction()
## Collects subdirectory names and returns them in a list
function ( listsubdirs DIRPATH SUBDIRECTORIES )
file( GLOB CONTENTS RELATIVE ${DIRPATH} "${DIRPATH}/*" )
set ( FOLDERS, "" )
foreach( ITEM IN LISTS CONTENTS)
if( IS_DIRECTORY "${DIRPATH}/${ITEM}" )
list( APPEND FOLDERS ${ITEM} )
endif()
endforeach()
set (${SUBDIRECTORIES} ${FOLDERS} PARENT_SCOPE)
endfunction()