Index: cmake/modules/AddLLVM.cmake |
diff --git a/cmake/modules/AddLLVM.cmake b/cmake/modules/AddLLVM.cmake |
index 2ef73fb8e5d9bc79fb834ce4282cb66750a99ab9..50cc5c8f67377a01ff71a09add95f5c708a016c2 100644 |
--- a/cmake/modules/AddLLVM.cmake |
+++ b/cmake/modules/AddLLVM.cmake |
@@ -500,6 +500,9 @@ endmacro(add_llvm_example name) |
macro(add_llvm_utility name) |
add_llvm_executable(${name} ${ARGN}) |
set_target_properties(${name} PROPERTIES FOLDER "Utils") |
+ if( LLVM_INSTALL_UTILS ) |
Derek Schuff
2015/03/19 00:15:13
do these variables have to get defaults anywhere?
Mircea Trofin
2015/03/19 00:29:46
Done. I added the documentation for the option, to
|
+ install (TARGETS ${name} RUNTIME DESTINATION bin) |
+ endif() |
endmacro(add_llvm_utility name) |