diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-04 14:42:14 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2014-02-04 14:42:14 +0000 |
commit | 055e70063b4b2de004c489b56ba04d382c47f621 (patch) | |
tree | 59c6b7e7cdec642521ec8c2b24c6245e8b86d5a3 /cmake | |
parent | c4c93c149307228087f340d52f91a7947b2f6d26 (diff) | |
download | llvm-055e70063b4b2de004c489b56ba04d382c47f621.tar.gz |
[CMake] Get rid of llvm_config() to expand dependencies.
CMake's target_link_libraries() will manage dependencies.
Configuration time may be reduced by a few seconds.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200765 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/modules/LLVM-Config.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/LLVM-Config.cmake b/cmake/modules/LLVM-Config.cmake index ef13ef3364ae..313956493238 100644 --- a/cmake/modules/LLVM-Config.cmake +++ b/cmake/modules/LLVM-Config.cmake @@ -62,7 +62,7 @@ endmacro(llvm_config) function(explicit_llvm_config executable) set( link_components ${ARGN} ) - explicit_map_components_to_libraries(LIBRARIES ${link_components}) + llvm_map_components_to_libnames(LIBRARIES ${link_components}) target_link_libraries(${executable} ${LIBRARIES}) endfunction(explicit_llvm_config) |