Michael J. Spencer | 48263ba | 2010-12-16 03:28:42 +0000 | [diff] [blame] | 1 | # TODO: Set the install directory. |
2 | |||||
3 | set(known_subdirs | ||||
4 | "compiler-rt" | ||||
Michael J. Spencer | 48263ba | 2010-12-16 03:28:42 +0000 | [diff] [blame] | 5 | ) |
6 | |||||
7 | foreach (dir ${known_subdirs}) | ||||
8 | if (EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${dir}/CMakeLists.txt) | ||||
9 | add_subdirectory(${CMAKE_CURRENT_SOURCE_DIR}/${dir}) | ||||
10 | endif() | ||||
11 | endforeach() |