[branding] Drop complicated machinery for one subdir

This commit is contained in:
Adriaan de Groot 2019-06-16 22:42:53 +02:00
parent cd7fc93b6a
commit 41c2a7e4e0

View File

@ -1,7 +1 @@
file( GLOB SUBDIRECTORIES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*" ) calamares_add_branding_subdirectory( default )
foreach( SUBDIRECTORY ${SUBDIRECTORIES} )
set( _sd "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRECTORY}" )
if( IS_DIRECTORY "${_sd}" AND EXISTS "${_sd}/branding.desc" )
calamares_add_branding_subdirectory( ${SUBDIRECTORY} )
endif()
endforeach()