aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 2 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 00214782ca..a7a595a8eb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -319,14 +319,10 @@ add_subdirectory(lib/Archive)
add_subdirectory(projects)
option(LLVM_BUILD_TOOLS "Build LLVM tool programs." ON)
-if(LLVM_BUILD_TOOLS)
- add_subdirectory(tools)
-endif()
+add_subdirectory(tools)
option(LLVM_BUILD_EXAMPLES "Build LLVM example programs." OFF)
-if(LLVM_BUILD_EXAMPLES)
- add_subdirectory(examples)
-endif ()
+add_subdirectory(examples)
install(DIRECTORY include/
DESTINATION include