CMake: If we have `clang' under the `tools/' subdirectory, add it to

the build.

llvm-svn: 58179
This commit is contained in:
Oscar Fuentes 2008-10-26 00:52:09 +00:00
parent 20baf2fc3c
commit e638f5d854
1 changed files with 4 additions and 0 deletions

View File

@ -30,3 +30,7 @@ add_subdirectory(bugpoint)
add_subdirectory(llvm-bcanalyzer)
add_subdirectory(llvm-stub)
add_subdirectory(llvmc2)
if( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )
add_subdirectory( ${CMAKE_CURRENT_SOURCE_DIR}/clang )
endif( EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/clang/CMakeLists.txt )