c57d99a21c
do not require building through a CMakeLists.txt.
7 lines
266 B
CMake
7 lines
266 B
CMake
file( GLOB SUBDIRECTORIES RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} "*" )
|
|
foreach( SUBDIRECTORY ${SUBDIRECTORIES} )
|
|
if( IS_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/${SUBDIRECTORY}" )
|
|
calamares_add_module_subdirectory( ${SUBDIRECTORY} )
|
|
endif()
|
|
endforeach()
|