cgal/CMake/cmake/modules/AddSubdirectories.cmake

16 lines
229 B
CMake

macro ( add_subdirectories relpath )
file( GLOB list "${relpath}/*" )
foreach( entry ${list} )
if ( IS_DIRECTORY ${entry} )
add_directory( ${entry} )
endif()
endforeach()
endmacro()